From 37f16ccbceabb28551da01c4f2eaa010e72f2b9f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Guido=20G=C3=BCnther?= Date: Wed, 3 Aug 2011 22:01:10 +0200 Subject: [PATCH] Document meta tags MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit so one doesn't have to consult the manual Git-Dch: Short Closes: #636088 Thanks: Raphaël Hertzog for the suggestion --- docs/manpages/git-dch.sgml | 65 ++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 63 insertions(+), 2 deletions(-) diff --git a/docs/manpages/git-dch.sgml b/docs/manpages/git-dch.sgml index b175d9a..e86bccd 100644 --- a/docs/manpages/git-dch.sgml +++ b/docs/manpages/git-dch.sgml @@ -73,7 +73,7 @@ The branch in the Git repository the Debian package is being - developed on, default is master. + developed on, default is master. @@ -119,7 +119,7 @@ Parse meta tags like , - and . + and . See META TAGS below. @@ -243,6 +243,67 @@ + META TAGS + Additional to the above options the formatting of the commit message + in debian/changelog can be modified by special tags + (called Meta Tags) + given in the git commit message. Meta Tag processing can be activated via + the option. The tags must start at the first column of + a commit message but can appear on any line. + They are of the form : + value. Valid Meta Tags are: + + + + : action + + + Supported actions are: Ignore which will ignore + this commit when generating debian/changelog and + Short which will only use the description + (the first line) of the commit message when generating the changelog entry. + + + + : msg + + + + Add a thanks message after the commit message. + + + + + : bugnumber + + + + Indicate in the debian/changelog that the bug was + closed by this commit. See the + on howto extend this for other bugtrackers. + + + + + The following git commit message: + + Document meta tags + + so one doesn't have to consult the manual + + Git-Dch: Short + Closes: #636088 + Thanks: Raphaël Hertzog for the suggestion + + + Results in this debian/changelog entry: + + + * Document meta tags. + Thanks to Raphaël Hertzog for the suggestion (Closes: #636088) + + + &man.git.config-files; -- 2.7.4