X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=setup.c;h=7a3618fab774c0c26a99c6e23b4fcf726e5dc1ad;hb=d3f2475c01d9e90dbadacbe2c35854f6d11e6409;hp=61c22e6becc1e49f1e92c916a4b8badd30a9cb2f;hpb=55dcc2ebad1b3ed4a6912f6f401f63cd3c71026f;p=git.git diff --git a/setup.c b/setup.c index 61c22e6be..7a3618fab 100644 --- a/setup.c +++ b/setup.c @@ -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);