"Ravi (Tom) Hale" writes:
> The log --format="%d" includes preceding space:
>
> $ git log -n1 --format="XX%dXX" HEAD
> XX (HEAD -> master)XX
>
> I know of no other % that is output in this way.
That is primarily because %d predates %[-+ ] mechanism,
I think. It is too late to redefine what "%d"
The log --format="%d" includes preceding space:
$ git log -n1 --format="XX%dXX" HEAD
XX (HEAD -> master)XX
I know of no other % 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
2 matches
Mail list logo