From 1658b0b4e5712658f3ee73863fe2b609fbdb650a Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 5 Jul 2015 01:34:08 +0100 Subject: Provide --clean=git-ff (aka -wgf), which is useful for dgit itself (!) --- dgit.1 | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'dgit.1') diff --git a/dgit.1 b/dgit.1 index 0f3f9c7..1c87e9a 100644 --- a/dgit.1 +++ b/dgit.1 @@ -269,6 +269,15 @@ from being run. the downside is simply that git clean may delete files you forgot to git add. .TP +.BR --clean=git-ff " | " -wgf +The source tree should be cleaned, before building a source package +with one of the build options, using +.BR "git clean -xdff" . +This is like +"git clean -xdf" +but it also removes any subdirectories containing different git +trees (which only unusual packages are likely to create). +.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 -- cgit v1.2.3