Commit 2e581933 added a parameter to function scan_unapplied but the
corresponding shift wasn't adjusted accordingly. Apparently this bug
was harmless but there is a slight performance penalty so let's fix
it still.
---
 quilt/patches.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/quilt/patches.in
+++ b/quilt/patches.in
@@ -77,7 +77,7 @@ touched_by_patch()
 scan_unapplied()
 {
        local color=$1 prefix=$2 file=$3 strip
-       shift 2
+       shift 3
        local file_bre="$(quote_bre $file)" patch
 
        for patch in "$@"

-- 
Jean Delvare
Suse L3


_______________________________________________
Quilt-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/quilt-dev

Reply via email to