Re: [PATCH 2/2] diff: teach diff to read gitattribute diff-algorithm
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 7, 2023, 21:28 UTC
- Message-ID
- <xmqq4jrxyxl2.fsf@gitster.g>
- In-Reply-To
- <230207.86bkm52n8x.gmgdl@evledraar.gmail.com>
Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes:
> To clarify, I'm not suggesting that we ever read arbitrary parts of the > "diff.<driver>.<key>" config space, but that we could whitelist one set > of "diff.<driver>.<known-key>"="<known-values>".
When the value names the path to an executable or the command line to invoke a program, there is no "portable" value that is useful. Whitelisting macOS only program only because its pathname is one of the known values does not help me running something else.