diff options
Diffstat (limited to 'dgit.1')
-rw-r--r-- | dgit.1 | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -248,11 +248,20 @@ Valid with dgit fetch and dgit pull, only. The source tree should be cleaned, before building a source package with one of the build options, using .BR "git clean -xdf" . -This will delete all files which are not tracked by git. +This will delete all files which are not tracked by git. Also, -wg +causes dgit to pass +.B -nc +to dpkg-buildpackage, which prevents the package's own clean target +from being run. + +--clean=git is useful when the package's clean target is troublesome; +the downside is simply that git clean may delete files you forgot to +git add. .TP .BR --clean=none | -wn Do not clean the tree before building a source package. If there are -files which are not in git, a subsequent dgit push will fail. +files which are not in git, or if the build creates such files, a +subsequent dgit push will fail. .TP .BR --clean=dpkg-source | -wd Use dpkg-buildpackage to do the clean, so that the source package |