summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgit-repo1
1 files changed, 1 insertions, 0 deletions
diff --git a/git-repo b/git-repo
index 885aae2..2d79ca7 100755
--- a/git-repo
+++ b/git-repo
@@ -81,6 +81,7 @@ _create_repo() {
mkdir -p "$repo_dir"
git init -q --bare --shared=$shared "$repo_dir"
+ git config receive.denyNonFastforwards false
chgrp -R "$group" "$repo_dir"
echo "$repo_desc" > "$repo_dir/description"