gnu-arch-users
[Top][All Lists]
Advanced

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

Re: [Gnu-arch-users] Star-merge Fatally Wounded


From: David Allouche
Subject: Re: [Gnu-arch-users] Star-merge Fatally Wounded
Date: Sat, 11 Sep 2004 13:30:57 +0200

On Fri, 2004-09-10 at 20:00 -0400, Adrian Irving-Beer wrote:
>         * Star-merge B into A works (but that's a false positive due
>           to too little input data; it fuzzies and does it wrong).
> 
>         * Star-merge A into B fails due to conflict.
> 
>         * Star-merge either using --three-way works perfectly.
> 
> Interestingly, even though --three-way reports adding two patch logs
> and modifying the file (*not* a conflict), it only adds one patch log
> and doesn't make any changes to the file.  Essentially, the merge
> becomes a no-op (as one would expect).
> 
> Is the three-way behaviour helpful at all in improving the normal
> behaviour?  Is it only working due to minimal input data?

That's intriguing. I never really quite understood how --three-way
affects the merge logic.

See the attached test case to see that actually it really blows. In one
case it actually successfully and silently do the WRONG thing!

-- 
                                                            -- ddaa

Attachment: cross-three-way.sh
Description: application/shellscript


reply via email to

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