[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Quilt-dev] [PATCH] push: update color matcher for failed merge
From: |
Jean Delvare |
Subject: |
Re: [Quilt-dev] [PATCH] push: update color matcher for failed merge |
Date: |
Wed, 25 Nov 2009 10:43:43 +0100 |
User-agent: |
KMail/1.9.1 |
Le mercredi 25 novembre 2009 08:50, Bert Wesarg a écrit :
> Patch(1) has recently changed the message for a failed merge from 'UNMERGED'
> to 'NOT MERGED' (See commit 87f54e80 in the patch repository). Adopt this
> change to quilt push's color matcher.
>
> Signed-off-by: Bert Wesarg <address@hidden>
>
> ---
> quilt/push.in | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/quilt/push.in b/quilt/push.in
> index c953e01..cca0681 100644
> --- a/quilt/push.in
> +++ b/quilt/push.in
> @@ -72,7 +72,7 @@ colorize()
> {
> if [ -n "$opt_color" ]; then
> awk '
> - { if (/FAILED|hunks? ignored|can'\''t find file|file .* already
> exists|UNMERGED/)
> + { if (/FAILED|hunks? ignored|can'\''t find file|file .* already
> exists|NOT MERGED/)
> print "'$color_patch_fail'" $0 "'$color_clear'"
> else if (/already applied$/)
> print "'$color_patch_fuzz'" $0 "'$color_clear'"
Err, this will then fail for everyone using older versions of patch,
won't it? Don't we instead want to catch both "UNMERGED" and "NOT
MERGED"?
--
Jean Delvare
Suse L3