To exclude a commit from the generated changelog use:
</para><para>
<screen>
-Git-Dch: Ignore
+Gbp-Dch: Ignore
</screen>
This is e.g. useful if you're just fixing up a previous commit and couldn't
ammend it or for other janitorial commits that really don't need to end up in
<screen>
Set correct branchnames in debian/gbp.conf
-Git-Dch: Ignore
+Gbp-Dch: Ignore
</screen>
will not show up in the generated changelog in any way.
</para>
<para>
To include the full commit message in the changelog use:
<screen>
-Git-Dch: Full
+Gbp-Dch: Full
</screen>
</para>
<para>
To only include the short description in the changelog and skip the body use:
<screen>
-Git-Dch: Short
+Gbp-Dch: Short
</screen>
The latter only takes effect when running &gbp-dch; with the
<option>--full</option> option, since including only the short
&dhsection;
</refmeta>
<refnamediv>
- <refname>git-dch;</refname>
- <refname>gbp-dch;</refname>
+ <refname>git-dch</refname>
+ <refname>gbp-dch</refname>
<refpurpose>Generate the &debian; changelog from git commit messages</refpurpose>
</refnamediv>
<refsynopsisdiv>
<listitem>
<para>
Parse meta tags like <option>Closes:</option>,
- <option>Thanks:</option> and <option>Git-Dch:</option>. See META TAGS
+ <option>Thanks:</option> and <option>Gbp-Dch:</option>. See META TAGS
below.
</para>
</listitem>
</para>
<variablelist>
<varlistentry>
- <term><option>Git-Dch</option>: <replaceable>action</replaceable>
- </term>
+ <term>
+ <option>Gbp-Dch</option>: <replaceable>action</replaceable>
+ </term>
<listitem>
<para>
- Supported actions are: <replaceable>Ignore</replaceable> which will
- ignore this commit when generating
- <filename>debian/changelog</filename>,
- <replaceable>Short</replaceable> which will only use the description
- (the first line) of the commit message when generating the changelog
- entry (useful when <option>--full</option> is given) and
- <replaceable>Full</replaceable> which will use the full commit
- message when generating the changelog entry (useful when
- <option>--full</option> is not given).
+ Supported actions are: <replaceable>Ignore</replaceable>
+ which will ignore this commit when
+ generating <filename>debian/changelog</filename>,
+ <replaceable>Short</replaceable> which will only use the
+ description (the first line) of the commit message when
+ generating the changelog entry (useful
+ when <option>--full</option> is given) and
+ <replaceable>Full</replaceable> which will use the full
+ commit message when generating the changelog entry (useful
+ when <option>--full</option> is not given).
+ </para>
+ <para>
+ Insteaad of <option>Gbp-Dch</option> the
+ deprecated <option>Git-Dch</option> is still supported.
</para>
</listitem>
</varlistentry>
so one doesn't have to consult the manual
- Git-Dch: Short
+ Gbp-Dch: Short
Closes: #636088
Thanks: Raphaël Hertzog for the suggestion
</screen>