Merge branch 'jc/maint-sane-execvp-notdir'
commit12d858aeb45f6eae3eaecb49ccb6f61affca54cd
authorJunio C Hamano <gitster@pobox.com>
Mon, 3 Sep 2012 22:53:26 +0000 (3 15:53 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 3 Sep 2012 22:53:26 +0000 (3 15:53 -0700)
treea6a06df2210d7496665406a71df4796f9afd919f
parent3e06f5ff3870279f3bf2f97d4a4256032575055e
parenta78550831a42db6896e598cd2a8bfb441a958fc8
Merge branch 'jc/maint-sane-execvp-notdir'

"git foo" errored out with "Not a directory" when the user had a non
directory on $PATH, and worse yet it masked an alias "foo" to run.

* jc/maint-sane-execvp-notdir:
  sane_execvp(): ignore non-directory on $PATH
run-command.c