aboutsummaryrefslogtreecommitdiffhomepage
path: root/gbp.conf
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2009-08-23 16:46:15 +0200
committerGuido Günther <agx@sigxcpu.org>2009-08-23 18:40:14 +0200
commitee6c23824949baec5c7333a4933f64504d1a62d4 (patch)
tree81956c9da3fba84c78b2d5a8c390ef90a5f8c946 /gbp.conf
parentdcbe091422807d7bd0aede336ab1d12dd65384e5 (diff)
add postimport hook for git-import-orig
Allows to run git-dch after import. Drop the dch invocation and warn when --no-dch gets passed on the commandline. Closes: #520355
Diffstat (limited to 'gbp.conf')
-rw-r--r--gbp.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/gbp.conf b/gbp.conf
index ce6fc111..04011320 100644
--- a/gbp.conf
+++ b/gbp.conf
@@ -39,6 +39,10 @@
#filter = .svn
# filter out files from tarball passed to pristine tar
#filter-pristine-tar = True
+# hook run after the import:
+#postimport = git-dch -N%(version)s -S -a
+# emulate old behaviour of calling dch:
+#postimport = dch -v%(version)s New Upstream Version
# Options only affecting git-import-dsc
[git-import-dsc]