Thread (1 message) 1 message, 1 author, 2026-03-01

Re: --no-decorate and %d in git-log(1)

From: Junio C Hamano <hidden>
Date: 2026-03-01 05:59:12

Marc Branchaud [off-list ref] writes:
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help