Re: [PATCH v3 1/1] range-diff: treat notes like `log`
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 14, 2023, 16:18 UTC
- Message-ID
- <xmqqpm2kk9sm.fsf@gitster.g>
- In-Reply-To
- <dd2958c5-58bf-86dd-b666-9033259a8e1a@gmx.de>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
> A much more surgical way to address the issue at hand might be this > (Kristoffer, what do you think? It's missing documentation for the > newly-introduced `--show-notes-by-default` option, but you get the idea):
Clever. I was wondering if the option parsing done by the revision machinery was readily available for us to use from range-diff code, but because we are forking out to "log" anyway, giving it the new "--show-notes-by-default" option does sound like a much easier way out. It would help something like
[alias] ln = !"git log --show-notes-by-default"
as well. Nicely designed.