Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-commit: fix coding style.
[gitweb.git]
/
builtin-init-db.c
diff --git
a/builtin-init-db.c
b/builtin-init-db.c
index 5085018e46d8ebefaf797d62dcc7c9f8f1d06d02..c3ed1ce4929472b4e3fb7577ac61bd914baf0954 100644
(file)
--- a/
builtin-init-db.c
+++ b/
builtin-init-db.c
@@
-311,6
+311,7
@@
int cmd_init_db(int argc, const char **argv, const char *prefix)
*/
sprintf(buf, "%d", shared_repository);
git_config_set("core.sharedrepository", buf);
+ git_config_set("receive.denyNonFastforwards", "true");
}
return 0;