summaryrefslogtreecommitdiff
path: root/sync-all
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2012-12-02 15:40:01 +0000
committerIan Lynagh <ian@well-typed.com>2012-12-02 15:40:51 +0000
commit691c8a8cef3b26a7f4734a6f7b69871a0ed726fd (patch)
treee7d8c379934181e24a2e1f7dd6a1192b7554ee9d /sync-all
parent56240c1dc913dcd5de729e5b597f36842b8e811d (diff)
downloadhaskell-691c8a8cef3b26a7f4734a6f7b69871a0ed726fd.tar.gz
Don't get submodules when 'get'ing
Leave it to 'git submodule init/update'
Diffstat (limited to 'sync-all')
-rwxr-xr-xsync-all2
1 files changed, 2 insertions, 0 deletions
diff --git a/sync-all b/sync-all
index 4f7e76700c..04bbd19155 100755
--- a/sync-all
+++ b/sync-all
@@ -300,6 +300,8 @@ sub scmall {
$path = "$repo_base/$remotepath";
if ($command eq "get") {
+ next if $remotepath eq "-"; # "git submodule init/update" will get this later
+
# Skip any repositories we have not included the tag for
if (not defined($tags{$tag})) {
$tags{$tag} = 0;