Skip to content

refactor status to detect conflicts from stash - #7380

Merged
shiftkey merged 5 commits into
developmentfrom
bugfix/conflict-detection-post-stashing
Apr 23, 2019
Merged

shiftkey merged 5 commits into
developmentfrom
bugfix/conflict-detection-post-stashing

Conversation

@outofambit

@outofambit outofambit commented Apr 22, 2019 •

Copy link
Copy Markdown
Contributor

Overview

Closes #7350

Description

There doesn't seem to be a way to tell if you are in the middle of a conflict from popping a stash in git, except to inspect the current statuses of files in the working directory and look for unmerged files.

So, this PR adds logic to look for files in conflict, even when we're not in the middle of a rebase or a merge.

Note: this doesn't address #7383

@outofambit outofambit added this to the 1.7.0 milestone Apr 22, 2019
Comment thread app/src/lib/git/status.ts Resolved
Comment thread app/src/lib/git/status.ts Resolved
@outofambit outofambit added the ready-for-review Pull Requests that are ready to be reviewed by the maintainers label Apr 22, 2019
@outofambit
outofambit marked this pull request as ready for review April 22, 2019 18:36

@shiftkey shiftkey left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one suggestion to keep some important context around

Comment thread app/src/lib/git/status.ts Resolved
@shiftkey shiftkey self-assigned this Apr 23, 2019
@outofambit
outofambit requested a review from shiftkey April 23, 2019 14:31
@shiftkey

Copy link
Copy Markdown
Member

I plan to merge this in when CI passes to unblock other work

@shiftkey
shiftkey merged commit 2abe50f into development Apr 23, 2019
@shiftkey
shiftkey deleted the bugfix/conflict-detection-post-stashing branch April 23, 2019 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-review Pull Requests that are ready to be reviewed by the maintainers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Stashing] Let Users View Stash Conflicts in Changes Tab

2 participants