From: Ian Jackson Date: Tue, 22 Oct 2013 11:51:36 +0000 (+0100) Subject: Format `(3.0) quilt' fixup does not mind extraneous other files in the build tree... X-Git-Tag: debian/0.16~2 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=78c59ecd1cced311e2b04d44197f5f194a830203 Format `(3.0) quilt' fixup does not mind extraneous other files in the build tree (e.g., build products and logs). Closes: #727053. --- diff --git a/debian/changelog b/debian/changelog index 0a499cb0..63d9a8a6 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,7 @@ dgit (0.16) unstable; urgency=low + * Format `(3.0) quilt' fixup does not mind extraneous other files + in the build tree (e.g., build products and logs). Closes: #727053. * Set autoflush on stdout, to get better ordering of debugging etc. output when stdout is redirected. * New --damp-run mode, for more convenient and fuller testing etc. diff --git a/dgit b/dgit index 3c13d79f..ba5f1ba8 100755 --- 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;