Skip to content

"Open Conflict Resolution Tool" button #71

Closed

Description

@joshaber

If there are conflicts, we should offer to open the conflict resolution tool.

Activity

  1. added this to the milestone on Jun 20, 2016
  2. removed this from the milestone on Jul 15, 2016
  3. joshaber commented on Jan 26, 2017

    @joshaber
    ContributorAuthor

    How do we imagine this working? Generally the merge tool is launched once for all conflicted files, though it can be launched per file.

  4. modified the milestones: , M3: The Last One Was Not Enough on Feb 10, 2017
  5. added
    design-input-needed
    on Apr 11, 2017
  6. yellis commented on Jun 8, 2017

    @yellis

    In other tools (SourceTree being the one I am most familiar with) if there are merge conflicts they are listed, you can right click on them, have quick resolution options (resolve using mine/theirs) or option to open in 3rd party diff application (Winmerge, Beyond Compare, etc). When it is resolved there go back to the main screen and it cleans itself up. Might be easier to implement this way rather than having to do up your own diff/merge visualization.

  7. removed this from the 1.0: The Last Milestone milestone on Jun 27, 2017
  8. added this to the 1.1 milestone on Sep 15, 2017
  9. 3 remaining items

  10. removed their assignment
    on Sep 21, 2017
  11. shiftkey commented on Sep 21, 2017

    @shiftkey
    Member

    One of the big open questions here is, what do we encourage users to do if they don't have a merge tool configured?

    If they don't have one configured, we could look at the output of git mergetool --tool-help as that tells us what they have installed:

    $ git mergetool --tool-help
    'git mergetool --tool=<tool>' may be set to one of the following:
    		emerge
    		opendiff
    		vimdiff
    		vimdiff2
    		vimdiff3
    
    	user-defined:
    		sourcetree.cmd /Users/shiftkey/Applications/SourceTree.app/Contents/Resources/opendiff-w.sh "$LOCAL" "$REMOTE" -ancestor "$BASE" -merge "$MERGED"
    
    The following tools are valid, but not currently available:
    		araxis
    		bc
    		bc3
    		codecompare
    		deltawalker
    		diffmerge
    		diffuse
    		ecmerge
    		examdiff
    		gvimdiff
    		gvimdiff2
    		gvimdiff3
    		kdiff3
    		meld
    		p4merge
    		tkdiff
    		tortoisemerge
    		winmerge
    		xxdiff
    
    Some of the tools listed above only work in a windowed
    environment. If run in a terminal-only session, they will fail.
    

    We could then set this as their configured merge tool. The downside to this is that there's lots of CLI tools, and nicer experiences like Atom probably won't be detected...

  12. joshaber commented on Sep 22, 2017

    @joshaber
    ContributorAuthor

    The downside to this is that there's lots of CLI tools

    Yeah, that's the catch to using --tool-help. It's really command line-centric 😞 I doubt most of our users are gonna want vimdiff.

  13. fenduru commented on Oct 11, 2017

    @fenduru

    I'm trying to help my non-technical designers get set up with an easy to use workflow. It would be really nice if there was some level of support baked into Github Desktop for basic kinds of conflicts.

    Introducing yet another tool for them to learn would be more difficult from a training perspective, and often times dedicated conflict resolutions try to be very powerful (which has been a turn off for other git GUIs that try to support every possible git feature - Github Desktop has been wonderfully simple in this regard).

  14. shiftkey commented on Oct 12, 2017

    @shiftkey
    Member

    @fenduru we've called out better conflict resolution on our roadmap, so stay tuned for that as we get closer to planning what that looks like.

  15. modified the milestones: 1.1, on Oct 23, 2017
  16. modified the milestones: , on Feb 7, 2018
  17. removed this from the 1.3.0 milestone on Jul 11, 2018
  18. jonagillag commented on Aug 17, 2018

    @jonagillag

    Can we at least get a simple Resolve Mine / Resolve Theirs right click menu for simple conflict resolution? We are trying to have the artists on our team use Github Desktop exclusively, but the lack of this feature means it's functionally unusable for them, since they would still need SourceTree or another tool installed to handle any conflicts that arise.

  19. shiftkey commented on Aug 17, 2018

    @shiftkey
    Member

    @jonagillag I think you'll be interested in following along with #5400

  20. billygriffin commented on Aug 29, 2018

    @billygriffin
    Contributor

    Since we're tracking this in #5400 I'm going to close this in favor of that as it's basically a duplicate. We completely agree that improving this flow will be helpful for users, just don't want to preliminarily specify the exact solution (and there are some good ideas in this thread that we'll be sure to reference).

  21. removed
    design-input-needed
    on Aug 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions