From ae575e3067fa448858835360386503168b3bf5d8 Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Mon, 23 Feb 2009 16:37:54 +0100 Subject: Add --export=WC to export the working copy into export-dir. Closes: #509138 --- docs/chapters/building.sgml | 6 ++++-- docs/manpages/git-buildpackage.sgml | 4 +++- 2 files changed, 7 insertions(+), 3 deletions(-) (limited to 'docs') diff --git a/docs/chapters/building.sgml b/docs/chapters/building.sgml index e81a48e8..4b590988 100644 --- a/docs/chapters/building.sgml +++ b/docs/chapters/building.sgml @@ -46,10 +46,12 @@ &git-buildpackage; =../build-area =etch &git-buildpackage; =../build-area =8caed309653d69b7ab440e3d35abc090eb4c6697 &git-buildpackage; =../build-area =INDEX +&git-buildpackage; =../build-area =WC The special argument INDEX exports the - state of the current index which can be used to include staged but - uncommitted changes in the build. + state of the current index which can be used to include staged but uncommitted + changes in the build. Whereas the special argument + WC exports the current working copy as is. If you want to default to build in a separate build area you can specify the directory to use in the gbp.conf. diff --git a/docs/manpages/git-buildpackage.sgml b/docs/manpages/git-buildpackage.sgml index d4e8936a..8ee48b07 100644 --- a/docs/manpages/git-buildpackage.sgml +++ b/docs/manpages/git-buildpackage.sgml @@ -189,7 +189,9 @@ Instead of exporting the current branch head, export the treeish object treeish. The special name - INDEX exports the current index. + INDEX exports the current index whereas + the special name WC exports the current working + copy as is. -- cgit v1.2.3