summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2018-10-13 11:37:06 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2018-10-13 12:20:46 +0100
commitd98b7653e23426cdfe91f6892c2a2f1c21481cd0 (patch)
tree6fdc7b53095be39bcf6c473a2d7eb6b01872e886
parent3e3eff12e8f475d4b8bf296d518c786d8a810e29 (diff)
dgit: clean_tree_check: Add a comment about modifed tracked files
No functional change. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
-rwxr-xr-xdgit3
1 files changed, 3 insertions, 0 deletions
diff --git a/dgit b/dgit
index 2d7b8d4..1d0fe85 100755
--- a/dgit
+++ b/dgit
@@ -6201,6 +6201,9 @@ sub maybe_unapply_patches_again () {
sub clean_tree_check () {
# Not yet fully implemented.
+ # This function needs to not care about modified but tracked files.
+ # That was done by check_not_dirty, and by now we may have run
+ # the rules clean target which might modify tracked files (!)
if ($cleanmode =~ m{^check}) {
my $leftovers = cmdoutput @git, qw(clean -xdn);
if (length $leftovers) {