summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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