diff options
author | Thomas Miedema <thomasmiedema@gmail.com> | 2014-06-17 19:21:37 +0200 |
---|---|---|
committer | Thomas Miedema <thomasmiedema@gmail.com> | 2014-06-23 16:04:21 +0200 |
commit | bdb5809129a926eb56ed1c8bd25da5be20d0ee98 (patch) | |
tree | 079c22b590b19ceb20a23e5333e5cdcf6cb09078 /sync-all | |
parent | 101c3f77706df77f5ef7df68cb08437131ec3aa0 (diff) | |
download | haskell-bdb5809129a926eb56ed1c8bd25da5be20d0ee98.tar.gz |
sync-all: make --no-dph work for all subcommands
Diffstat (limited to 'sync-all')
-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 "."; |