Re: git diff bug?
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 6, 2009, 17:56 UTC
- Message-ID
- <7vskkl64yu.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <vpqeiw53cpy.fsf@bauges.imag.fr>
Matthieu Moy <Matthieu.Moy@imag.fr> writes:
Show 14 quoted lines
> Jeff King <peff@peff.net> writes: > >> But the latter two lines are about preference: "here is how _I_ would >> like to generate diffs for el files". > > ... and they are commands to be executed. If they were in the > repository, and propagated with clone, then doing > > git clone git://some.git/repo > cd repo > git diff > > would execute arbitrary commands, which wouldn't be acceptable for > security reasons.
Other configuration variables have such security implications, but diff hunk header bit doesn't. You are a bit overly cautious in this particular case.