summaryrefslogtreecommitdiff
path: root/dgit.1
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2018-10-13 13:29:01 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2018-10-13 16:46:47 +0100
commitbf3b5ae6ed289e7b1d43559700d1bdf3be8b38a7 (patch)
tree5574d4b0d1ffa823b9696a63f90c192c65f9c393 /dgit.1
parent17828118c396929e9a95dbd4d1efd58b747add95 (diff)
dgit: -wg / -wgf clean check is a no-op
Document this, and handle it explicitly in the clean_tree_check conditional and in the test suite. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'dgit.1')
-rw-r--r--dgit.17
1 files changed, 6 insertions, 1 deletions
diff --git a/dgit.1 b/dgit.1
index 5155dc0..c3dd420 100644
--- a/dgit.1
+++ b/dgit.1
@@ -538,7 +538,12 @@ This will delete all files which are not tracked by git.
options other than dpkg-source
are useful when the package's clean target is troublesome, or
to avoid needing the build-dependencies.
-.TP
+
+dgit will only actually clean the tree if it needs to
+(because it needs to build the source package
+or binaries from your working tree).
+Otherwise any untracked files will be simply ignored.
+p.TP
.BR --clean=git-ff " | " -wgf
Use
.BR "git clean -xdff"