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
This commit is contained in:
Junio C Hamano
2012-04-20 15:50:03 -07:00
6 changed files with 86 additions and 7 deletions

View File

@ -1305,4 +1305,6 @@ extern struct startup_info *startup_info;
/* builtin/merge.c */
int checkout_fast_forward(const unsigned char *from, const unsigned char *to);
int sane_execvp(const char *file, char *const argv[]);
#endif /* CACHE_H */