summaryrefslogtreecommitdiff
path: root/dgit
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2013-10-22 12:51:36 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2013-10-22 12:51:36 +0100
commit78c59ecd1cced311e2b04d44197f5f194a830203 (patch)
tree44f9f812d6553c1fe3116611d6dc8935bf381dd6 /dgit
parentc36579b521a6e6da1992e0bad826cd83560308d1 (diff)
Format `(3.0) quilt' fixup does not mind extraneous other files in the build tree (e.g., build products and logs). Closes: #727053.
Diffstat (limited to 'dgit')
-rwxr-xr-xdgit5
1 files changed, 0 insertions, 5 deletions
diff --git a/dgit b/dgit
index 3c13d79..ba5f1ba 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;