aerc: Update templates
* Forwarded template * Patch applied and thanks script * Formatold-yadm
parent
ba9cab299d
commit
04a8373708
|
@ -1,10 +1,5 @@
|
||||||
X-Mailer: aerc {{version}}
|
X-Mailer: aerc {{version}}
|
||||||
|
|
||||||
-------- Doorgestuurd bericht --------
|
Forwarded message from {{(index .OriginalFrom 0).Name}} on {{dateFormat .OriginalDate "Mon Jan 2, 2006 at 3:04 PM"}}:
|
||||||
Onderwerp: {{.Subject}}
|
|
||||||
Datum: {{dateFormat .OriginalDate "2006-01-02 15:04 MST" }}
|
|
||||||
Van: {{.OriginalFrom}}
|
|
||||||
Aan: {{.To}} (this is broken, remove this line)
|
|
||||||
Bericht:
|
|
||||||
{{wrapText .OriginalText 72}}
|
{{wrapText .OriginalText 72}}
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
REMOTE_URL=$(git remote get-url --push origin)
|
REMOTE_URL=$(git remote get-url --push origin)
|
||||||
COMMITS=$(git reflog -2 $(git for-each-ref --format='%(upstream:short)' $(git symbolic-ref -q HEAD)) --pretty=format:%h | xargs printf '%s from %s')
|
COMMITS=$(git reflog -2 $(git for-each-ref --format='%(upstream:short)' $(git symbolic-ref -q HEAD)) --pretty=format:%h | xargs printf '%s <- %s')
|
||||||
CURRENT_BRANCH=$(git branch --show-current)
|
CURRENT_BRANCH=$(git branch --show-current)
|
||||||
UPSTREAM_BRANCH=$(git for-each-ref --format='%(upstream:short)' $(git symbolic-ref -q HEAD) | sed 's#^[^/]*/##g')
|
UPSTREAM_BRANCH=$(git for-each-ref --format='%(upstream:short)' $(git symbolic-ref -q HEAD) | sed 's#^[^/]*/##g')
|
||||||
echo "On $REMOTE_URL:
|
echo "On $REMOTE_URL:
|
||||||
|
|
Loading…
Reference in New Issue