Merge branch 'jk/run-command-eacces' into maint
commit8c1ba2131436f7412b3aa8642ea507cc171af5c4
authorJunio C Hamano <gitster@pobox.com>
Thu, 26 Apr 2012 17:51:40 +0000 (26 10:51 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 26 Apr 2012 17:51:41 +0000 (26 10:51 -0700)
tree61ae5348e708640fafcba14d1d98ab74b977d79d
parent731673b15ee886989afe57e50450e8ad9ed9dea3
parent38f865c27d1f2560afb48efd2b7b105c1278c4b5
Merge branch 'jk/run-command-eacces' into maint

When PATH contains an unreadable directory, alias expansion code did
not kick in, and failed with an error that said "git-subcmd" was not
found.

By Jeff King (1) and Ramsay Jones (1)
* jk/run-command-eacces:
  run-command: treat inaccessible directories as ENOENT
  compat/mingw.[ch]: Change return type of exec functions to int
cache.h
run-command.c