Skip to content

Don't wipe out the merge state - #1216

Merged
shiftkey merged 31 commits into
masterfrom
just-a-conflict
Apr 18, 2017
Merged

shiftkey merged 31 commits into
masterfrom
just-a-conflict

Conversation

@joshaber

@joshaber joshaber commented Apr 17, 2017 •

Copy link
Copy Markdown
Contributor

Fixes half of #763: merge commits made within the app are created with multiple parents.

screen shot 2017-04-17 at 3 52 17 pm

@joshaber joshaber changed the title [WIP] Don't wipe out the merge state Don't wipe out the merge state Apr 17, 2017
@joshaber

Copy link
Copy Markdown
Contributor Author

This is ready now 🍤

@shiftkey shiftkey self-assigned this Apr 18, 2017

@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.

Fix is great, new test is greater, a couple of minor things with the test.

Comment thread app/test/unit/git/commit-test.ts Outdated
const selectedFile = files[0].withSelection(selection)
await createCommit(repo, 'Merge commit!', [ selectedFile ])

const commits = await getCommits(repo, 'HEAD', 100)

This comment was marked as spam.

Comment thread app/test/unit/git/commit-test.ts Outdated
const files = status.workingDirectory.files

expect(files.length).to.equal(1)
expect(files[0].path).to.contain('foo')

This comment was marked as spam.

@joshaber

Copy link
Copy Markdown
Contributor Author

🚰

@shiftkey
shiftkey merged commit 45f3249 into master Apr 18, 2017
@joshaber
joshaber deleted the just-a-conflict branch June 14, 2017 01:36
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.

2 participants