Johannes Schindelin [off-list ref] writes:
quoted
quoted
The supported placeholders are:
'%H': commit hash
...
'%b': body
Hmmm. Would we want to make them somehow interoperable with
git-for-each-ref format atoms?
But those placeholders are so long! Not even GNU date supports such long
placeholders... And I could not reuse interpolate.[ch] as is for that.
What I was hinting at was to fix (or extend) for-each-ref to
accept these short-and-sweet placeholders.
quoted
Also, it _might_ be worthwhile to do something like "%+4b" which means
"indent each line of this field with 4 spaces", for a multi-line field
like "%b".
Same goes here: interpolate.[ch] does not (yet) allow for that.
Nah, if you feel it is too much work, I trust your judgement (I
do not recall details of how interpolate.c does its thing). I
do not think it's worth it.