diff options
-rw-r--r-- | quilt.changes | 2 | ||||
-rw-r--r-- | quilt/patches.in | 3 |
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 }' } |