Thread (1 message) 1 message, 1 author, 2016-06-15
  • (off-list ancestor, not in this archive)
  • Re: git diff bug? · Matthieu Moy <hidden> · 2016-06-15

Re: git diff bug?

From: Matthieu Moy <hidden>
Date: 2016-06-15 22:46:34

Junio C Hamano [off-list ref] writes:
Matthieu Moy [off-list ref] writes:
quoted
Jeff King [off-list ref] writes:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help