git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git's directory is _prepended_ to PATH when called with an absolute path
@ 2015-04-21 21:37 David Rodríguez
  2015-04-21 21:48 ` Junio C Hamano
  2015-04-22  5:47 ` Andreas Krey
  0 siblings, 2 replies; 9+ messages in thread
From: David Rodríguez @ 2015-04-21 21:37 UTC (permalink / raw)
  To: git

For example, if I run git using:

$ /usr/bin/git

then /usr/bin is prepended to the path. Is this intentional? If it is, why?

This causes issues with Ruby git hooks, because Ruby version managers 
rely on custom settings in PATH to select the Ruby executable, and 
there's usually a system Ruby living in /usr/bin. See 
https://github.com/github/hub/issues/855 for an example.

Thanks a lot,

David Rodríguez.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2015-04-22 17:48 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-21 21:37 git's directory is _prepended_ to PATH when called with an absolute path David Rodríguez
2015-04-21 21:48 ` Junio C Hamano
2015-04-21 21:59   ` David Rodríguez
2015-04-21 23:17     ` David Rodríguez
2015-04-22  5:47 ` Andreas Krey
2015-04-22 11:36   ` David Rodríguez
2015-04-22 15:31     ` Andreas Krey
2015-04-22 17:02       ` brian m. carlson
2015-04-22 17:47         ` David Rodríguez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).