Merge branch 'jk/run-command-eacces'
commitbd6f71d1fca865507b3f0a9e310b4d02632cf0ce
authorJunio C Hamano <gitster@pobox.com>
Fri, 20 Apr 2012 22:50:03 +0000 (20 15:50 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 20 Apr 2012 22:50:03 +0000 (20 15:50 -0700)
tree9ec8bf5af578538c1f690e8169fc123cb7434dea
parent27da1cf65b9f30a51c061409c697f94b9b56b09c
parent38f865c27d1f2560afb48efd2b7b105c1278c4b5
Merge branch 'jk/run-command-eacces'

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