Re: [RFC PATCH] show decorations at the end of the line
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 20, 2017, 01:15 UTC
- Message-ID
- <xmqqr32tll22.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <20170220004648.c2zz6bm2hylvep6x@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 10 quoted lines
> I think there are two potential patches: > > 1. Add a custom-format placeholder for the --source value. > This is an obvious improvement that doesn't hurt anyone. > > 2. Switch --decorate to the end by default, but _not_ --source. > > This use case _could_ be served already by using a custom format > with "%d". So it's really just a matter of having better-looking > default.
Yes, and I agree it is a better default to have "--decorate" at the end.
I do not mind having to use a custom format myself, but I suspect that the default for "--source" is more useful to have it at the beginning, because "--source" annotates each and every commit, as opposed to "--decorate" that adds annotation few and far between.