summaryrefslogtreecommitdiff
path: root/git-shell-commands/mirror
diff options
context:
space:
mode:
Diffstat (limited to 'git-shell-commands/mirror')
-rwxr-xr-xgit-shell-commands/mirror6
1 files changed, 3 insertions, 3 deletions
diff --git a/git-shell-commands/mirror b/git-shell-commands/mirror
index 2bf9a49..6a2c254 100755
--- a/git-shell-commands/mirror
+++ b/git-shell-commands/mirror
@@ -4,8 +4,8 @@
set -E
-repo="`basename "$1"`.git"
-
-git clone --mirror $1 $repo
+for _m in $@; do
+ git clone --mirror $_m
+done
exit $?