chiark / gitweb /
dgit: Document new --clean=git behaviours
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 6 Jan 2019 12:15:53 +0000 (12:15 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 6 Jan 2019 13:36:46 +0000 (13:36 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
dgit.1

diff --git a/dgit.1 b/dgit.1
index 60bf0d3767fc157ae80fa7990a047f9bb76a3d38..6f8957444ccc3f911444a9a4e91e637a83ab7986 100644 (file)
--- 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).