Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'ms/http-no-more-failonerror'
[gitweb.git]
/
builtin
/
init-db.c
diff --git
a/builtin/init-db.c
b/builtin/init-db.c
index dbb0d10cdd208ece24ef29a5c58043f80531a811..93eff7618cf1b98e3c69a7f1f159063e9e73dbe3 100644
(file)
--- a/
builtin/init-db.c
+++ b/
builtin/init-db.c
@@
-451,6
+451,7
@@
static int guess_repository_type(const char *git_dir)
static int shared_callback(const struct option *opt, const char *arg, int unset)
{
+ BUG_ON_OPT_NEG(unset);
*((int *) opt->value) = (arg) ? git_config_perm("arg", arg) : PERM_GROUP;
return 0;
}