Skip to content
This repository has been archived by the owner on Nov 8, 2017. It is now read-only.

Keep both? #244

Closed
jglovier opened this issue Jun 28, 2016 · 4 comments
Closed

Keep both? #244

jglovier opened this issue Jun 28, 2016 · 4 comments

Comments

@jglovier
Copy link

Is there a good way to keep both? Right now you are sort of forced to choose between options. There are some instances where I need to just keep both, and I've had to resort to copying one of the lines, accepting one of the diffs, then pasting back in the code.

Maybe with an button like Keep both it could just remove the conflict marking lines and keep everything else as is?

@smashwilson
Copy link
Owner

You actually already can! It's kind of hidden, though. Right-click within a conflict marker and you'll see a Resolution submenu that lets you choose "ours then theirs," "theirs then ours," and so on.

@jglovier
Copy link
Author

Ah, awesome!

What do you think about making that more obvious with a little menu icon or something?

@smashwilson
Copy link
Owner

I like the idea - I was thinking about adding a cog menu to the navigator (the bar between the sides of the diff) for example.

Unfortunately me spending time on this package these days is... sporadic and burst-y at best. 😛

Oh, also, see the existing discussion in #185. Mind if I close this issue as a duplicate of that one?

@jglovier
Copy link
Author

Sounds good. 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants