visual tool to resolve conflicts merged into a single file

Posted by Yehosef on Stack Overflow See other posts from Stack Overflow or by Yehosef
Published on 2010-05-27T12:37:05Z Indexed on 2010/05/27 12:41 UTC
Read the original article Hit count: 144

Filed under:
|

I did a git merge and ended up with a file like that looks like this:

class member extends item{
    /********CONSTANTS**********/ 
    const is_flaggable = true;
    const is_commentable = false;
    const is_ratable = false; 
    const table = 'member'; 
<<<<<<< HEAD
    const table_about = 'mem_about' ;
    const table_to_about  = 'mem_to_about' ;
    const table_hobbies = 'mem_to_hobby'; 

=======
    const table_friendship = 'friendship'; 
    const table_about = 'mem_about' ;
    const table_to_about  = 'mem_to_about' ;
    const table_hobbies = 'mem_to_hobby'; 
    const table_friendship_id = 3; 
>>>>>>> my-copy

In this file there are many blocks like this. Is there a visual tool to help me look at this file and pick and choose the changes I want? Most of the diff tools I found are for looking at two files.

© Stack Overflow or respective owner

Related posts about merge

Related posts about diff