From 9bbbc77feb411cc6c72c0bf6df5b0c22e31729e6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Guido=20G=C3=BCnther?= Date: Fri, 29 Jul 2011 13:58:54 +0200 Subject: [PATCH] Better document --git-upstream-tree --- docs/chapters/building.sgml | 8 +++----- docs/manpages/git-buildpackage.sgml | 4 ++-- gbp.conf | 3 ++- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/docs/chapters/building.sgml b/docs/chapters/building.sgml index d6c11f0..911a1dd 100644 --- a/docs/chapters/building.sgml +++ b/docs/chapters/building.sgml @@ -12,11 +12,9 @@ &git-buildpackage; - If &git-buildpackage; doesn't find a valid upstream tarball it will create - one by looking at the tag matching the upstream version, if no tag can be - found it uses the tip of the current . Any - other treeish object to create the upstream tarball from can be given with - the option. + If &git-buildpackage; doesn't find a valid upstream tarball it will + create one by looking at the tag matching the upstream version. To change + this behaviour see the option. If you want to recreate the original tarball using the additional information from the you have to diff --git a/docs/manpages/git-buildpackage.sgml b/docs/manpages/git-buildpackage.sgml index f79ad6a..77b7ab1 100644 --- a/docs/manpages/git-buildpackage.sgml +++ b/docs/manpages/git-buildpackage.sgml @@ -185,8 +185,8 @@ =branch_name - Branch to build the orig tarball from if no tag matching the - upstream version is found. Default is + Branch to build the orig tarball from if + is set to branch. Default is upstream. You can give any treeish object here. diff --git a/gbp.conf b/gbp.conf index 22ac648..cb0926f 100644 --- a/gbp.conf +++ b/gbp.conf @@ -21,7 +21,8 @@ # Options only affecting git-buildpackage [git-buildpackage] -#upstream-branch = dfsgclean +# Look for a tag matching the upstream version when creating a tarball +#upstream-tree = tag # uncomment this to automatically GPG sign tags: #sign-tags = True # keyid to GPG sign tags with: -- 2.7.4