From: R. Steve McKown Date: Fri, 28 Sep 2012 17:10:14 +0000 (-0600) Subject: gitcreate doesn't add .git to file name X-Git-Tag: 0.5~13 X-Git-Url: https://oss.titaniummirror.com/gitweb?p=repo_shell.git;a=commitdiff_plain;h=5d02d664162a4444581e276f89198e767fdc8d2c gitcreate doesn't add .git to file name --- diff --git a/scripts/gitcreate b/scripts/gitcreate index d570f71..45e1d05 100755 --- a/scripts/gitcreate +++ b/scripts/gitcreate @@ -23,7 +23,7 @@ fi # Create the respository umask 027 -git --git-dir "$git_root/$1.git" init --bare +git --git-dir "$git_root/$1" init --bare [ $? -ne 0 ] && exit 1 echo "Repository created.