Re: [PATCH] diff: add config option relative
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 16, 2020, 00:04 UTC
- Message-ID
- <xmqq1rnk923o.fsf@gitster.c.googlers.com>
- In-Reply-To
- <20200515233130.GC6362@camp.crustytoothpaste.net>
"brian m. carlson" <sandals@crustytoothpaste.net> writes:
Show 8 quoted lines
> On 2020-05-15 at 15:57:06, Laurent Arnoud wrote: >> The `diff.relative` boolean option set to `true` to show only changes on the >> current directory and show relative pathnames. > > Usually when we implement configuration settings like this, we implement > an option value, such as --no-relative, so that users or scripting tools > can disable this feature if they need to. However, I don't see that in > this series. Would adding such a feature be possible?
I think I saw a variant that does have --[no-]foobar support on the list, but I may be hallucinating. You definitely would want it, or you've broken "format-patch" forever without a knob to countermand the configuration (well, you can still say "git -c diff.foobar=no" but that's kind of cheating).