summaryrefslogtreecommitdiff
path: root/dgit
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2018-10-13 13:30:46 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2018-10-13 16:46:47 +0100
commit75dd5aef7f0d91ce0ac78285cc15843f686f5914 (patch)
treeeed844fe2539947289ae98cc392110c922bee52f /dgit
parentbf3b5ae6ed289e7b1d43559700d1bdf3be8b38a7 (diff)
dgit: -wn clean check is a no-op
Handle this 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')
-rwxr-xr-xdgit1
1 files changed, 1 insertions, 0 deletions
diff --git a/dgit b/dgit
index 52ae472..4587af2 100755
--- a/dgit
+++ b/dgit
@@ -6242,6 +6242,7 @@ sub clean_tree_check () {
# If we were actually cleaning these files would be summarily
# deleted. Since we're not, and not using the working tree
# anyway, we can just ignore them - nothing will use them.
+ } elsif ($cleanmode eq 'none') {
}
}