summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2009-11-05 17:58:16 +0100
committerAndreas Gruenbacher <agruen@suse.de>2009-11-05 18:11:29 +0100
commite8158fb31c9399345c759b70548c831698947ae6 (patch)
tree38f9a20335a7e9185752c4069f4a8a8796887233
parent81fd69c06648bc491643f7e9b3f1f043eee93522 (diff)
downloadquilt-e8158fb31c9399345c759b70548c831698947ae6.tar.gz
patches command: Prevent false matches in unapplied patches for patches which delete files
-rw-r--r--quilt.changes2
-rw-r--r--quilt/patches.in3
2 files changed, 4 insertions, 1 deletions
diff --git a/quilt.changes b/quilt.changes
index 10ad0b4..b9a8108 100644
--- a/quilt.changes
+++ b/quilt.changes
@@ -3,6 +3,8 @@ Thu Nov 5 17:54:32 CET 2009 - agruen@suse.de
- patches command: Commit 2e581933a introduced a bug in scanning
unapplied patches which lead to missed matches.
+- patches command: Prevent false matches in unapplied patches
+ for patches which delete files.
-------------------------------------------------------------------
Wed Nov 4 15:48:59 CET 2009 - agruen@suse.de
diff --git a/quilt/patches.in b/quilt/patches.in
index 2de62d1..be90798 100644
--- a/quilt/patches.in
+++ b/quilt/patches.in
@@ -62,7 +62,8 @@ touched_by_patch()
sub(/^\/dev\/null/, "")
for (i=0; i<'$strip'; i++)
sub(/^[^\/]*\//, "")
- print
+ if ($0 != "")
+ print
}'
}