Repository navigation
Conversation
|
@shiftkey so it wouldn't be possible to show the original list of conflicts with them all resolved? Something like: If we have no files to show then I think we can do something like this: |
@ampinsk not without more work in the app. We can check text conflicts are resolved by looking for conflict markers in the contents, but binary files have no equivalent - and updating the index (which is what |
|
@billygriffin yeah, I think I'm fine with that if we detect you're in a merge conflict but don't have anything to show (because it's been resolved). |
|
Seems like a reasonable first step then, thanks! |
d867eca to
b43512b
Compare
b43512b to
dee6000
Compare
00eed01 to
f9509e7
Compare
f9509e7 to
ec0d381
Compare
| currentUpstreamBranch, | ||
| branchAheadBehind, | ||
| exists: true, | ||
| mergeHeadFound, |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
Closing this out for now because #6116 is a more urgent PR to land. Once that's in, I'll reopen a fresh PR with the remaining changes to support this UI. |
|
#6122 is the evolution of this PR, ready for testing while we co-ordinate landing other PRs |


Overview
Closes #6066
This PR adds a simple UI to acknowledge binary files with conflicts, rather than considering them resolved.
Description
.git/MERGE_HEADrather than working directory stateMore information
Collapsed away to focus on the feature itself, expand me
There's some imperfections with the flow currently that I'm thinking about, and might be resolved with other work that's in-progress.
I have two options here based on the command line - "ours" or "theirs":
git add my-cool-image.pngin the shell to add the file ("theirs"), this is what Git reports.When I switch back to the app, the conflict dialog disappears and it looks like I'm about to make a regular commit.
This should be fixed when #6067 is resolved, and I imagine the app would show an empty list of conflicts and let the user commit the merge.
git rm my-cool-image.pngin the shell to remove the file ("ours"), this is what Git reports:And when I switch to the app, I don't have the ability to commit to complete the merge (because no changes):
Again, when we resolve #6067 the app should put them back in the conflicts UI and get them to complete the merge, but we don't necessarily have any conflicts to display as resolved.
@ampinsk did any of your mocks around the conflicts dialog have a "no outstanding conflicts" view? I think users who resolve conflicts externally and stage the changes from the command line will lose context like this, and it'd be nice to just have a "you're good to merge" state for the dialog.
Release notes
Notes: no-notes