summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2019-01-06 12:15:53 +0000
committerIan Jackson <ijackson@chiark.greenend.org.uk>2019-01-06 13:36:46 +0000
commit02034520dc1174e9c841f0a37e9590ce421af06f (patch)
tree1ed4f565fe8c60313f9d175f7d20fd58c2137f68
parent78284e5d62da0a01dd9fc0f4c28630015b11f2a2 (diff)
dgit: Document new --clean=git behaviours
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
-rw-r--r--dgit.18
1 files changed, 7 insertions, 1 deletions
diff --git a/dgit.1 b/dgit.1
index 60bf0d3..6f89574 100644
--- a/dgit.1
+++ b/dgit.1
@@ -542,7 +542,9 @@ to avoid needing the build-dependencies.
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.
+Otherwise
+it will just check that there are no untracked unignored files.
+See --clean=git[-ff],always, below.
.TP
.BR --clean=git-ff " | " -wgf
Use
@@ -553,6 +555,10 @@ git clean -xdf
but it also removes any subdirectories containing different git
trees (which only unusual packages are likely to create).
.TP
+.BR --clean=git "[" -ff "]" ,always " | " -wga " | " -wgfa
+Like --clean=git, but always does the clean and not just a check,
+deleting any untracked un-ignored files.
+.TP
.BR --clean=check " | " --clean=check,ignores " | " -wc " | " -wci
Merely check that the tree is clean (does not contain uncommitted
files).