aboutsummaryrefslogtreecommitdiff
path: root/docs/chapters
diff options
context:
space:
mode:
authorGuido Guenther <agx@sigxcpu.org>2008-03-14 20:42:21 +0100
committerGuido Guenther <agx@sigxcpu.org>2008-03-14 20:42:21 +0100
commit2d6b2378fa2382d987d5776a00b5addb653f95ab (patch)
treee738e5d55b529cbc9540e4e678703441bfeec8df /docs/chapters
parentb6b40eb03bffe0511823b5f69539c0b69a88edfd (diff)
document --full and --meta
Diffstat (limited to 'docs/chapters')
-rw-r--r--docs/chapters/releases.sgml20
1 files changed, 20 insertions, 0 deletions
diff --git a/docs/chapters/releases.sgml b/docs/chapters/releases.sgml
index 1509ae1..4e1874b 100644
--- a/docs/chapters/releases.sgml
+++ b/docs/chapters/releases.sgml
@@ -78,4 +78,24 @@ You can also add the snapshot-number calculation to <filename>gbp.conf</filename
snapshot-number = os.popen("git-log --pretty=oneline | wc -l").readlines()[0]
</programlisting>
</sect1>
+<sect1 id="gbp.release.commit">
+ <title>More on commit messages</title>
+ <para>You can use <option>--full</option> to include the full commit
+ message in the changelog, note that you will lose the formatting though,
+ since &dch; wraps lines by itself.</para>
+ <para>Additionally you can use tags to customize the commit message, for
+ example the git commit message
+<screen>
+New upstream version
+
+Closes: #1000
+Thanks: cool upstream
+</screen>
+ would result in a changelog entry
+<screen>
+ * New upstream version (Closes: #1000) - thanks to cool upstream
+</screen>
+You can use multiple <option>Closes:</option> tags.
+</para>
+</sect1>
</chapter>