Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Option to use external merge tool is greyed out

Marcus Watson March 8, 2016

Hi,

 

In Sourcetree, I've selected DiffMerge as my external diff and merge tool, and when I select a file with conflicts I can launch it to compare diffs using "Actions/External Diff". But I cannot launch it to perform merges using "Actions/Resolve Conflicts/Launch External Merge Tool", as this menu option is greyed out. (In fact, all of the option in "Resolve Conflicts" are greyed out entirely. Any suggestions?

2 answers

0 votes
Marcus Watson March 8, 2016

Hmmm... sorry for my noobiness here. When I select the file in Sourcetree, it shows me what I thought was the conflict markup (hunks with green/red +/- lines). However if I go to the File Status view and select "Conflicts" from the dropdown menu, nothing shows up. Looking into the menu above the code hunks, it's set to "Diff vs. parent". But in the code itself, there are all sorts of lines like 

<<<<<<< .merge_file_sTV4Bz

and 

=======

and so forth. So I would have thought this should be treated as a file to be merged? 

However when I go to the File Status view, this file is just flagged as "modified", not "conflicted".

0 votes
Seth
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 8, 2016

Is the file recognized by Git as being in a "conflicted" state, or is it a file with conflict markup that is flagged as something else (modified, not tracked, added, etc)? 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events