diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-02-14 12:57:18 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-02-14 12:57:18 -0800 |
commit | 0364bb135e285d4118b69979ade3078fab50e08a (patch) | |
tree | 25b765f0b43fd761ba42815a4eae9df3f4bd5545 /setup.c | |
parent | 10439fc0effb194e1ce2cd4db8fbd69cfaf23656 (diff) | |
parent | b3256eb8b35937192e85725d0c2bcb422295790c (diff) | |
download | git-0364bb135e285d4118b69979ade3078fab50e08a.tar.gz |
Merge branch 'jk/git-dir-lookup'
* jk/git-dir-lookup:
standardize and improve lookup rules for external local repos
Diffstat (limited to 'setup.c')
-rw-r--r-- | setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -247,7 +247,7 @@ const char **get_pathspec(const char *prefix, const char **pathspec) * a proper "ref:", or a regular file HEAD that has a properly * formatted sha1 object name. */ -static int is_git_directory(const char *suspect) +int is_git_directory(const char *suspect) { char path[PATH_MAX]; size_t len = strlen(suspect); |