diff options
author | Marius Storm-Olsen <marius.storm-olsen@nokia.com> | 2011-06-01 10:52:29 -0500 |
---|---|---|
committer | Marius Storm-Olsen <marius.storm-olsen@nokia.com> | 2011-06-01 10:52:29 -0500 |
commit | 15b148592f003604740fb3fda0ab398b2b125a18 (patch) | |
tree | 9fe7696228d7f758a5731fb2b879994cafd7505c /init-repository | |
parent | c250ff7715947cab72e4ddef27501e8e9232cf13 (diff) |
Default to --ignore-submodules for --nokia-developer/--brisbane
When you use either --nokia-developer or --brisbane, changes
are that you're going to be working on one of the submodules
anyways, in which case, having git commands in top-level repo
work on submodules too is an annoyance.
Diffstat (limited to 'init-repository')
-rwxr-xr-x | init-repository | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/init-repository b/init-repository index 2d104fde..dd9f7233 100755 --- a/init-repository +++ b/init-repository @@ -98,6 +98,8 @@ Skip the `git submodule update' command. Set git config to ignore submodules by default when doing operations on the qt5 repo, such as `pull', `fetch', `diff' etc. +This option is default for --nokia-developer/--brisbane. + After using this option, pass `--ignore-submodules=none' to git to override it as needed. @@ -282,11 +284,13 @@ sub parse_arguments $self->{'protocol'} = 'internal'; $self->{'mirror-url'} = $BNE_MIRROR_URL_BASE; $self->{'mirror-webkit-url'} = $BNE_MIRROR_WEBKIT_URL; + $self->{'ignore-submodules'} = 1; }, 'nokia-developer' => sub { $self->{'nokia-developer'} = 1; $self->{'protocol'} = 'internal'; + $self->{'ignore-submodules'} = 1; }, ) || pod2usage(2); |