diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2018-10-13 13:31:52 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2018-10-13 16:46:47 +0100 |
commit | 1d5fcc08324200339c57ab8c6cac1c8ad9e9943a (patch) | |
tree | 048d929656bbe06e5515154d7e68550c4828887d /dgit | |
parent | d48ae0d567fff38618c1fffa5c4265cbfbda8160 (diff) |
dgit: Demand that all clean modes are handled by clean_tree_check
We've dealt with all the cases now, so we can add the default.
Also, in the test suite.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'dgit')
-rwxr-xr-x | dgit | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -6243,6 +6243,8 @@ sub clean_tree_check () { # 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') { + } else { + confess "$cleanmode ?"; } } |