Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-branch -D: make it work even when on a yet-to-be-born branch
[gitweb.git]
/
setup.c
diff --git
a/setup.c
b/setup.c
index 358e139d84c422a9bd0a9500807a31cbf7695f02..2afdba414a073705440f887593a1b5daa1023758 100644
(file)
--- a/
setup.c
+++ b/
setup.c
@@
-184,7
+184,7
@@
const char *setup_git_directory_gently(int *nongit_ok)
}
return NULL;
bad_dir_environ:
- if (
!
nongit_ok) {
+ if (nongit_ok) {
*nongit_ok = 1;
return NULL;
}