From 02201fcb3e2f7e92ccf115811c3e909a490f0a80 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 13 Oct 2018 11:56:06 +0100 Subject: dgit: Provide new clean mode --clean=check,ignores Signed-off-by: Ian Jackson --- dgit.1 | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'dgit.1') diff --git a/dgit.1 b/dgit.1 index ccf1ea5..19a88fa 100644 --- a/dgit.1 +++ b/dgit.1 @@ -548,11 +548,22 @@ git clean -xdf but it also removes any subdirectories containing different git trees (which only unusual packages are likely to create). .TP -.BR --clean=check " | " -wc +.BR --clean=check " | " --clean=check,ignores " | " -wc " | " -wci Merely check that the tree is clean (does not contain uncommitted files). Avoids running rules clean, and can avoid needing the build-dependencies. + +With +.BR ,ignores +or +.BR -wci , +untracked files covered by .gitignore are tolerated, +so only files which show up as +.B ? +in git status +(ie, ones you maybe forgot to git add) +are treated as a problem. .TP .BR --clean=none " | " -wn Do not clean the tree, nor check that it is clean. -- cgit v1.2.3