]> oss.titaniummirror.com Git - repo_shell.git/commitdiff
gitcreate doesn't add .git to file name
authorR. Steve McKown <rsmckown@gmail.com>
Fri, 28 Sep 2012 17:10:14 +0000 (11:10 -0600)
committerR. Steve McKown <rsmckown@gmail.com>
Fri, 28 Sep 2012 19:15:56 +0000 (13:15 -0600)
scripts/gitcreate

index d570f71b13f3088fad4600e95e9ed8a9f9c8b7c0..45e1d051115f974c35276e5928ec1d751b25ef55 100755 (executable)
@@ -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.