From fc67ac256af93ec60263ab9bf524bb7259f57260 Mon Sep 17 00:00:00 2001 From: Guido Guenther Date: Mon, 8 Sep 2008 18:10:20 +0200 Subject: document short options and snapshot mode --- docs/manpages/git-dch.sgml | 35 +++++++++++++++++++++++++++++------ 1 file changed, 29 insertions(+), 6 deletions(-) diff --git a/docs/manpages/git-dch.sgml b/docs/manpages/git-dch.sgml index 6436b44..e621da4 100644 --- a/docs/manpages/git-dch.sgml +++ b/docs/manpages/git-dch.sgml @@ -39,8 +39,8 @@ DESCRIPTION - &git-dch; reads git commit messages and generates the debian changelog from - it. If no arguments are given &git-dch; starts from the last tagged debian + &git-dch; reads git commit messages and generates the Debian changelog from + it. If no arguments are given &git-dch; starts from the last tagged Debian package version up to the current tip of the current branch. If the distribution of the topmost section in debian/changelog is UNRELEASED @@ -95,7 +95,8 @@ - + , + Guess the last commit documented in the changelog from the snapshot banner (or from the last tag if no snapshot banner exists). @@ -125,7 +126,8 @@ - + , + create a snapshot release entry. This adds a snapshot release number and a warning banner to the changelog entry. The release @@ -141,7 +143,8 @@ - + , + Remove any snapshot release banners and version suffixes, set the current distribution to unstable and @@ -149,7 +152,8 @@ - version + version, + version add a new changelog section with version @@ -176,6 +180,25 @@ + + Snapshot mode + + Snapshot mode can be used for quick test and install cycles without + having to worry about version numbers or changelog entries. + + When using or &git-dch; + uses a pseudo header in the Debian changelog to remember the last git + commit it added a changelog entry for. It also sets a version number + ending in + ~<snaspshotnumber>.gbp<commitid>. + It automatically increments the snapshot number on subsequent invocations + of &git-dch; so that later snapshots automatically + have a higher version number. To leave snapshot mode invoke &git-dch; + with the option. This removes the pseudo + heaader and unmangles the version number so the released version has a + higher version number than the snapshots. + + &man.git.config-files; -- cgit v1.2.1