quilt-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Quilt-dev] [PATCH 1/2] quilt patches: Fix shift in scan_unapplied


From: Martin Quinson
Subject: Re: [Quilt-dev] [PATCH 1/2] quilt patches: Fix shift in scan_unapplied
Date: Wed, 22 May 2013 01:09:50 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

This seems obvious enough to get commited. 

Thanks for your time, 
Mt

On Tue, Apr 30, 2013 at 02:35:16PM +0200, Jean Delvare wrote:
> 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
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/quilt-dev

-- 
Ceterum censeo Applem delendam esse.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]