aboutsummaryrefslogtreecommitdiff
path: root/.config/aerc/templates/thanks
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.config/aerc/templates/thanks5
1 files changed, 5 insertions, 0 deletions
diff --git a/.config/aerc/templates/thanks b/.config/aerc/templates/thanks
new file mode 100644
index 0000000..ae7a9fd
--- /dev/null
+++ b/.config/aerc/templates/thanks
@@ -0,0 +1,5 @@
+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"` ""}}