aboutsummaryrefslogtreecommitdiff
path: root/gbp/config.py
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2012-03-19 14:46:05 +0100
committerGuido Günther <agx@sigxcpu.org>2012-03-21 09:46:35 +0100
commit6d4b4ff991fc58ef77029734e256a0e0138f0a6a (patch)
tree6b67b5c58e104000ddce81c13fa37814bc40e95a /gbp/config.py
parent04d0d28f8bdb364d63f093ffbe72638bae0806ce (diff)
gbp create-remote-repo: allow to pass template directory
to git init so it's possible to set up remote hooks.
Diffstat (limited to 'gbp/config.py')
-rw-r--r--gbp/config.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/gbp/config.py b/gbp/config.py
index 909e8e73..c6805df2 100644
--- a/gbp/config.py
+++ b/gbp/config.py
@@ -124,7 +124,8 @@ class GbpOptionParser(OptionParser):
'submodules' : 'False',
'time-machine' : 1,
'pbuilder-autoconf' : 'True',
- 'pbuilder-options': ''
+ 'pbuilder-options': '',
+ 'template-dir': '',
}
help = {
'debian-branch':
@@ -208,6 +209,8 @@ class GbpOptionParser(OptionParser):
"Wheter to configure pbuilder automatically. Default is '%(pbuilder-autoconf)s'",
'pbuilder-options':
"Options to pass to pbuilder, default is '%(pbuilder-options)s'",
+ 'template-dir':
+ "Template directory used by git init, default is %(template-dir)s",
}
def_config_files = [ '/etc/git-buildpackage/gbp.conf',