diff options
author | Andreas Gruenbacher <agruen@suse.de> | 2009-11-05 17:55:53 +0100 |
---|---|---|
committer | Andreas Gruenbacher <agruen@suse.de> | 2009-11-05 18:10:58 +0100 |
commit | 81fd69c06648bc491643f7e9b3f1f043eee93522 (patch) | |
tree | c103689c406a24042d960fc22ec9542964275385 | |
parent | 13db18d41818d3bb9828f03e60f2e05b38fc9323 (diff) | |
download | quilt-81fd69c06648bc491643f7e9b3f1f043eee93522.tar.gz |
patches command: Commit 2e581933a introduced a bug in scanning unapplied patches which lead to missed matches
-rw-r--r-- | quilt.changes | 6 | ||||
-rw-r--r-- | quilt/patches.in | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/quilt.changes b/quilt.changes index f8940fe..10ad0b4 100644 --- a/quilt.changes +++ b/quilt.changes @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +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. + +------------------------------------------------------------------- Wed Nov 4 15:48:59 CET 2009 - agruen@suse.de - Fix typo in doc/quilt.1.in. diff --git a/quilt/patches.in b/quilt/patches.in index a392a12..2de62d1 100644 --- a/quilt/patches.in +++ b/quilt/patches.in @@ -68,7 +68,7 @@ touched_by_patch() scan_unapplied() { - local prefix=$1 file=$2 strip + local color=$1 prefix=$2 file=$3 strip shift 2 local file_bre="$(quote_bre $file)" patch @@ -80,7 +80,7 @@ scan_unapplied() if touched_by_patch $strip $patch \ | grep -q "^$file_bre\$" then - echo "$prefix$(print_patch $patch)" + echo "$color$prefix$(print_patch $patch)$color_clear" fi done } |