Re: --no-decorate and %d in git-log(1)
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 1, 2026, 05:59 UTC
- Message-ID
- <xmqqwlzw5bv6.fsf@gitster.g>
- In-Reply-To
- <cf3d274e-7363-4557-809a-a649b1d304ad@xiplink.com>
Marc Branchaud <marcnarc@xiplink.com> writes:
Show 7 quoted lines
> Given this documented connection between %d/%D and --decorate, it seems > reasonable for a reader to assume that --decorate=auto would do the same > thing regardless of whether or not a --format=...%d... was present. > ... > I note that currently --decorate has no effect at all if the --format > doesn't contain %d or %D. To me this bolsters the argument for making > --decorate=no suppress %d/%D.
OK, that's convincing enough.
I no longer mind cooking such a change a bit longer than usual in 'next' to see if anybody screams, and the have it graduate to a released version to further see what happens.
Thanks.