summaryrefslogtreecommitdiff
path: root/sync-all
diff options
context:
space:
mode:
Diffstat (limited to 'sync-all')
-rwxr-xr-xsync-all4
1 files changed, 3 insertions, 1 deletions
diff --git a/sync-all b/sync-all
index 519c02aa6e..6c4396534a 100755
--- a/sync-all
+++ b/sync-all
@@ -316,7 +316,9 @@ sub scmall {
scm (".", $scm, "get", $get_mode, $path, $localpath, @args);
}
else {
- scm (".", $scm, "clone", $path, $localpath, @args, $bare_flag);
+ my @argsWithBare = @args;
+ push @argsWithBare, $bare_flag if $bare_flag;
+ scm (".", $scm, "clone", $path, $localpath, @argsWithBare);
scm ($localpath, $scm, "config", "core.ignorecase", "true");
}
next;