diff options
-rwxr-xr-x | sync-all | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -307,6 +307,10 @@ sub gitall { for $line (@packages) { $tag = $$line{"tag"}; + if ($tags{$tag} == 0) { + next; + } + # Use the "remote" structure for bare git repositories $localpath = ($bare_flag) ? $$line{"remotepath"} : $$line{"localpath"}; @@ -340,10 +344,6 @@ sub gitall { if ($command eq "get") { next if $remotepath eq "-"; # "git submodule init/update" will get this later - if ($tags{$tag} == 0) { - next; - } - if (-d $localpath) { warning("$localpath already present; omitting") if $localpath ne "."; |