diff options
author | Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> | 2016-04-20 14:21:25 +0200 |
---|---|---|
committer | Liang Qi <liang.qi@qt.io> | 2016-05-05 20:02:39 +0000 |
commit | a1ec8795c67bb154195a774544b3614fdd729d3d (patch) | |
tree | 3b861eff72ea2fe3ccf0b4f2ca561664633c2974 /init-repository | |
parent | c41d854254dbee488c454ec512ac0dfba1c38903 (diff) | |
download | qt5-a1ec8795c67bb154195a774544b3614fdd729d3d.tar.gz |
make it actually possible to specify 'ignore' as a class
another thing the doc claims to be possible - also quite reasonably.
Change-Id: I2220245b10f02a778345b6549e345b2486630ffd
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'init-repository')
-rwxr-xr-x | init-repository | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/init-repository b/init-repository index a5773e66..2580b0f6 100755 --- a/init-repository +++ b/init-repository @@ -348,6 +348,8 @@ sub git_clone_all_submodules @what = grep { ($subinits{$_} || 0) eq STS_DEPRECATED } keys %subbases; } elsif ($mod eq "obsolete") { @what = grep { ($subinits{$_} || 0) eq STS_OBSOLETE } keys %subbases; + } elsif ($mod eq "ignore") { + @what = grep { ($subinits{$_} || 0) eq 0 } keys %subbases; } elsif (defined($subdirs{$mod})) { push @what, $mod; } else { |