From: Matthieu Moy Date: Mon, 06 Apr 2009 19:32:43 GMT Subject: Re: git diff bug? Message-ID: In-Reply-To: <7vskkl64yu.fsf@gitster.siamese.dyndns.org> Junio C Hamano writes: > Matthieu Moy writes: > >> Jeff King 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. Oops, right, I was thinking of other parameters in the same section of the config file. Thanks for correcting. -- Matthieu