Format for %d includes unwanted preceding space
- From
- Ravi (Tom) Hale <ravi@hale.ee>
- Date
- Oct 6, 2016, 09:22 UTC
- Message-ID
- <a3eed8fb-505c-e9c1-6fb6-944d9df2f15d@hale.ee>
The log --format="%d" includes preceding space:
$ git log -n1 --format="XX%dXX" HEAD XX (HEAD -> master)XX
I know of no other %<token> that is output in this way.
Is there a way of removing this preceding space through the format string, or will it need to be a code change?
-- Tom Hale