summaryrefslogtreecommitdiff
path: root/sync-all
diff options
context:
space:
mode:
authorThomas Miedema <thomasmiedema@gmail.com>2014-06-17 19:21:37 +0200
committerThomas Miedema <thomasmiedema@gmail.com>2014-06-23 16:04:21 +0200
commitbdb5809129a926eb56ed1c8bd25da5be20d0ee98 (patch)
tree079c22b590b19ceb20a23e5333e5cdcf6cb09078 /sync-all
parent101c3f77706df77f5ef7df68cb08437131ec3aa0 (diff)
downloadhaskell-bdb5809129a926eb56ed1c8bd25da5be20d0ee98.tar.gz
sync-all: make --no-dph work for all subcommands
Diffstat (limited to 'sync-all')
-rwxr-xr-xsync-all8
1 files changed, 4 insertions, 4 deletions
diff --git a/sync-all b/sync-all
index d60e5c9ef1..cebb86bc77 100755
--- a/sync-all
+++ b/sync-all
@@ -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 ".";