summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/stagit-new-repo2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/stagit-new-repo b/bin/stagit-new-repo
index 9c79765..9a9f923 100755
--- a/bin/stagit-new-repo
+++ b/bin/stagit-new-repo
@@ -21,7 +21,7 @@ echo "Initializing git repository..."
git init --bare "$srv/$repo.git"
cp "$/usr/local/share/post-receive" "$srv/$repo.git/hooks/post-receive"
chmod u+x "$srv/$repo.git/hooks/post-receive"
-echo "$uri:$repo.git" > "$srv/$repo.git/url"
+echo "git@$uri:$repo.git" > "$srv/$repo.git/url"
echo "$owner" > "$srv/$repo.git/owner"
echo "$desc" > "$srv/$repo.git/description"
chown -R git:git "$srv/$repo.git"