X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=dgit;h=4587af257532c1c64036651feeb7d8c4d7fd3d85;hb=75dd5aef7f0d91ce0ac78285cc15843f686f5914;hp=e88af4e6c41b779997e5fbe6f29c2d24af856bdf;hpb=17828118c396929e9a95dbd4d1efd58b747add95;p=dgit.git diff --git a/dgit b/dgit index e88af4e6..4587af25 100755 --- a/dgit +++ b/dgit @@ -6238,6 +6238,11 @@ sub clean_tree_check () { } elsif ($cleanmode =~ m{^dpkg-source}) { clean_tree_check_git_wd __ "tree contains uncommitted files (NB dgit didn't run rules clean)"; + } elsif ($cleanmode =~ m{^git}) { + # 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') { } }