X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=blobdiff_plain;f=dgit.1;h=3e402e19022a4edd0435dad81da9857a76f6520c;hp=c569347e658bb6480e12072b0985c5dcef4670e1;hb=067e68de07f7d1cf1d406c4917e9cdd7b0b6f26a;hpb=8ee9e3edb66cb7af5aab96e44a2cfa0ff84b529a diff --git a/dgit.1 b/dgit.1 index c569347e..3e402e19 100644 --- a/dgit.1 +++ b/dgit.1 @@ -267,7 +267,7 @@ 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. +git add. --clean=git can also avoid needing the build-dependencies. .TP .BR --clean=git-ff " | " -wgf The source tree should be cleaned, before building a source package @@ -278,6 +278,10 @@ This is like but it also removes any subdirectories containing different git trees (which only unusual packages are likely to create). .TP +.BR --clean=check " | " -wn +Merely check that the tree is clean (does not contain uncommitted +files), before building a source package. +.TP .BR --clean=none " | " -wn Do not clean the tree before building a source package. If there are files which are not in git, or if the build creates such files, a @@ -288,6 +292,15 @@ Use dpkg-buildpackage to do the clean, so that the source package is cleaned by dpkg-source running the package's clean target. This is the default. It requires the package's build dependencies. .TP +.BR --clean=dpkg-source-d " | " -wdd +Use +.B dpkg-buildpackage -d +to do the clean, so that the source package +is cleaned by dpkg-source running the package's clean target. +The build-dependencies are not checked (due to +.BR -d ), +which violates policy, but may work in practice. +.TP .BR -N " | " --new The package may be new in this suite. Without this, dgit will refuse to push.