aboutsummaryrefslogtreecommitdiff
path: root/.config/aerc/templates/quoted_thanks
diff options
context:
space:
mode:
Diffstat (limited to '.config/aerc/templates/quoted_thanks')
-rw-r--r--.config/aerc/templates/quoted_thanks8
1 files changed, 8 insertions, 0 deletions
diff --git a/.config/aerc/templates/quoted_thanks b/.config/aerc/templates/quoted_thanks
new file mode 100644
index 0000000..5e22fd5
--- /dev/null
+++ b/.config/aerc/templates/quoted_thanks
@@ -0,0 +1,8 @@
+X-Sourcehut-Patchset-Update: APPLIED
+
+Thanks!
+
+{{exec `branch="$(git branch --show-current)"; { git remote get-url --push origin; git reflog -2 "origin/$branch" --pretty=format:%h | xargs printf '%s\n' | tac; } | xargs printf "To %s\n %s..%s $branch -> $branch"` ""}}
+
+On {{dateFormat (.OriginalDate | toLocal) "Mon Jan 2, 2006 at 3:40 PM MST"}}, {{(index .OriginalFrom 0).Name}} wrote:
+{{wrapText .OriginalText 72 | quote}}