Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds stats for when a merge is completed/aborted after a merge conflict #5742

Closed
wants to merge 25 commits into from

Conversation

iAmWillShepherd
Copy link
Contributor

Fixes #5394

At the moment, all the functions are in place to record the updates, but @outofambit and I were having some trouble getting to the right state. We'd like to be able to inspect the previous state so we can compare against the new state, so we did some programming by wishful thinking and just made up some variables that stand in for the real deal.

outofambit and others added 2 commits September 25, 2018 15:56
Co-Authored-By: William Shepherd <iamwillshepherd@users.noreply.github.com>
logic to actually record aborted or successful merge

Co-Authored-By: William Shepherd <iamwillshepherd@users.noreply.github.com>
@iAmWillShepherd iAmWillShepherd changed the base branch from master to show-resolved-conflicts September 25, 2018 23:04
const inAConflictedMerge: boolean = [...status.workingDirectory.files].some(
file => file.status === AppFileStatus.Resolved || file.status === AppFileStatus.Conflicted
)
const prevouslyInAConflictedMerge = false

This comment was marked as spam.

@shiftkey
Copy link
Member

I've merged #5715 into the base branch for this PR, and it looks like some commits here overlap with that - are we able to tidy up this PR to focus on just the new changes?

@iAmWillShepherd iAmWillShepherd changed the base branch from show-resolved-conflicts to master September 27, 2018 17:52
@iAmWillShepherd iAmWillShepherd changed the base branch from master to show-resolved-conflicts September 27, 2018 17:53
@iAmWillShepherd iAmWillShepherd changed the base branch from show-resolved-conflicts to master September 27, 2018 17:53
@iAmWillShepherd iAmWillShepherd changed the base branch from master to show-resolved-conflicts September 27, 2018 17:58
@iAmWillShepherd iAmWillShepherd changed the base branch from show-resolved-conflicts to show-pr September 27, 2018 17:59
@iAmWillShepherd iAmWillShepherd changed the base branch from show-pr to master September 27, 2018 17:59
@iAmWillShepherd
Copy link
Contributor Author

Closed in favor of #5810

@outofambit outofambit deleted the so-conflicted branch February 4, 2019 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants