summaryrefslogtreecommitdiff
path: root/gbp
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2011-04-06 13:30:06 +0200
committerGuido Günther <agx@sigxcpu.org>2011-04-06 20:34:58 +0200
commitdff62f20a00b7fde5f13754fb473c31aa5f91296 (patch)
tree63f9c94239d448df675999ccb28619bac7538c46 /gbp
parent82e5f4d5e0c87d587bc13323ee49e70c3d03cbcd (diff)
Make submodule support conditional
Diffstat (limited to 'gbp')
-rw-r--r--gbp/config.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/gbp/config.py b/gbp/config.py
index 103920e..9f3d169 100644
--- a/gbp/config.py
+++ b/gbp/config.py
@@ -106,6 +106,7 @@ class GbpOptionParser(OptionParser):
'author-is-committer': 'False',
'author-date-is-committer-date': 'False',
'create-missing-branches': 'False',
+ 'submodules' : 'True',
}
help = {
'debian-branch':
@@ -172,6 +173,8 @@ class GbpOptionParser(OptionParser):
"Use the authors's date as the comitter's date, default is '%(author-date-is-committer-date)s'",
'create-missing-branches':
"Create missing branches automatically, default is '%(create-missing-branches)s'",
+ 'submodules':
+ "Transparently handle submodules in the upstream tree"
}
config_files = [ '/etc/git-buildpackage/gbp.conf',
os.path.expanduser('~/.gbp.conf'),