I use bc3 as the merge tool with Cygwin git on Windows to resolve conflicts. Works great with text files!
But I can't figure out a way to use it with binary files that conflict, which is a pain. I realize bc3 isn't going to do any real merging, I just want to be able to type git mergetool, and if one of the files is binary, just let me pick the left or right file to output as the result. As it is, bc3 gives an error, and closing it apparently reports an error code that causes git to consider the merge a failure. Choosing the left or right file for output without actually performing a merge should always give a successful exit status.
And even for text files, I'd like there to be an option to pick the entire left file or the entire right file for output. To do that now when I need to, I select the entire text window for the side I want, copy it to the clipboard, then select the entire output window and paste the clipboard into it and save.
Is there a way to get the behavior I want that I just can't find? This tool is so awesome, I'm finding it hard to believe there's something useful that it could do but doesn't do!
But I can't figure out a way to use it with binary files that conflict, which is a pain. I realize bc3 isn't going to do any real merging, I just want to be able to type git mergetool, and if one of the files is binary, just let me pick the left or right file to output as the result. As it is, bc3 gives an error, and closing it apparently reports an error code that causes git to consider the merge a failure. Choosing the left or right file for output without actually performing a merge should always give a successful exit status.
And even for text files, I'd like there to be an option to pick the entire left file or the entire right file for output. To do that now when I need to, I select the entire text window for the side I want, copy it to the clipboard, then select the entire output window and paste the clipboard into it and save.
Is there a way to get the behavior I want that I just can't find? This tool is so awesome, I'm finding it hard to believe there's something useful that it could do but doesn't do!
Comment