Re: [BUG] Regression in 'git mergetool --tool-help'
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Dec 21, 2020, 00:41 UTC
- Message-ID
- <xmqqpn34m1n0.fsf@gitster.c.googlers.com>
- In-Reply-To
- <2e7485b6-86d9-4de2-a823-dd84fc7386b0@gmail.com>
Philippe Blain <levraiphilippeblain@gmail.com> writes:
Show 6 quoted lines
> Thanks René and Johannes for two additional suggestions; both work correctly. > Junio, I retried yours and verified my quoting and I confirm it does not work. > > I think I prefer René's suggestion. > > Thanks all,
I see what was wrong with my variant.
We force IFS to be LF and nothing else upfront, which defeats the attempt to split $variants at SP and turn them into "one token per line" with "printf '%s\n' $variants | ..."
In any case, I find René's variant easier to follow, too.
Thanks, all.