summaryrefslogtreecommitdiff
path: root/git-shell-commands
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-09-09 17:06:10 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-09-09 17:06:10 -0300
commit2a5839d898d5f029e7a8c0c276be9bac822e480d (patch)
tree2543bff92e1acb087d19af51dae3cbf27e01863d /git-shell-commands
parent47f7c9013487c0d148ace310c24e64708d7ec872 (diff)
Allow dashes on repo names
Diffstat (limited to 'git-shell-commands')
-rwxr-xr-xgit-shell-commands/create-bare-repo2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-shell-commands/create-bare-repo b/git-shell-commands/create-bare-repo
index ec98b33..6c83bc6 100755
--- a/git-shell-commands/create-bare-repo
+++ b/git-shell-commands/create-bare-repo
@@ -7,7 +7,7 @@ set -e
for i in $@; do
# Cleanup names
- repo="`echo "$i" | sed "s/[^a-z0-9\.\-\_]//gi"`"
+ repo="`echo "$i" | sed "s/[^a-z0-9\._-]//gi"`"
if [ -z "$repo" ]; then continue; fi