chiark / gitweb /
Format `(3.0) quilt' fixup does not mind extraneous other files in the build tree...
[dgit.git] / dgit
diff --git a/dgit b/dgit
index 3c13d79f66182a9579b6f56268161f6c9d9e3716..ba5f1ba8295c6b8d176411eddf3599d3786ea73b 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -871,17 +871,12 @@ sub check_not_dirty () {
 sub commit_quilty_patch () {
     my $output = cmdoutput @git, qw(status --porcelain);
     my %adds;
-    my $bad=0;
     foreach my $l (split /\n/, $output) {
        next unless $l =~ m/\S/;
        if ($l =~ m{^(?:\?\?| M) (.pc|debian/patches)}) {
            $adds{$1}++;
-       } else {
-           print STDERR "git status: $l\n";
-           $bad++;
        }
     }
-    fail "unexpected output from git status (is tree clean?)" if $bad;
     if (!%adds) {
        print "nothing quilty to commit, ok.\n";
        return;