Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH] Contribute a fairly paranoid update hook

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:43:06

"Shawn O. Pearce" [off-list ref] writes:
Junio C Hamano [off-list ref] wrote:
quoted
"Shawn O. Pearce" [off-list ref] writes:
quoted
+$ENV{PATH}     = '/opt/git/bin';
This caught my attention ;-).
What, is replacing PATH in the hook really all that paranoid?
Its a perfectly reasonable thing to do.  ;-)
I 100% agree it is the right thing to to make sure PATH is a
known good value.  What caught my attention is /opt/git/bin
is the *ONLY* place you need to look at, not even /usr/bin!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help