index 4612f110ee0beaeada3cb31ce7d47ad7175eec9c..2afdba414a073705440f887593a1b5daa1023758 100644 (file)
--- a/setup.c
+++ b/setup.c
}
return NULL;
bad_dir_environ:
}
return NULL;
bad_dir_environ:
+ if (nongit_ok) {
+ *nongit_ok = 1;
+ return NULL;
+ }
path[len] = 0;
die("Not a git repository: '%s'", path);
}
path[len] = 0;
die("Not a git repository: '%s'", path);
}