From 6d4b4ff991fc58ef77029734e256a0e0138f0a6a Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Mon, 19 Mar 2012 14:46:05 +0100 Subject: gbp create-remote-repo: allow to pass template directory to git init so it's possible to set up remote hooks. --- gbp/config.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gbp/config.py') diff --git a/gbp/config.py b/gbp/config.py index 909e8e7..c6805df 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', -- cgit v1.2.3