Skip to content

Autopopulate merge message - #1228

Merged
shiftkey merged 13 commits into
masterfrom
send-me-a-message
Apr 21, 2017
Merged

shiftkey merged 13 commits into
masterfrom
send-me-a-message

Conversation

@joshaber

@joshaber joshaber commented Apr 18, 2017 •

Copy link
Copy Markdown
Contributor

Depends on #1216.

Fixes #763

@joshaber joshaber changed the title [WIP] Autopopulate merge message Autopopulate merge message Apr 18, 2017
@joshaber

joshaber commented Apr 18, 2017 •

Copy link
Copy Markdown
Contributor Author

This'll be ready once #1216 lands.

s/o to @niik for the suggestion to treat the contextual commit message changes as significant.

@shiftkey

Copy link
Copy Markdown
Member

Oops, didn't realise this was targeting just-a-conflict which I just removed - let me know when you want a review of it.

@joshaber
joshaber changed the base branch from just-a-conflict to master April 19, 2017 14:21
@joshaber

Copy link
Copy Markdown
Contributor Author

No worries, that's the joy of being able to switch the merge base!

This is ready for review 🙏

@iAmWillShepherd

Copy link
Copy Markdown
Contributor

Realized @shiftkey said he'd review

@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 a couple of readability suggestions.

Comment thread app/src/lib/dispatcher/git-store.ts Outdated
// finding the same merge message over and over. We don't need to keep
// telling the world.
if (existingMessage && message &&
existingMessage.description === message.description &&

This comment was marked as spam.

Comment thread app/src/ui/changes/commit-message.tsx Outdated
// If the contextual commit message changed, we'll use it as our commit
// message.
if (nextContextualCommitMessage && (!lastContextualCommitMessage ||
(nextContextualCommitMessage.description !== lastContextualCommitMessage.description &&

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

@shiftkey shiftkey self-assigned this Apr 20, 2017
@joshaber

Copy link
Copy Markdown
Contributor Author

🥐

Comment thread app/src/ui/changes/commit-message.tsx Outdated
// If the contextual commit message changed, we'll use it as our commit
// message.
if (nextContextualCommitMessage && (!lastContextualCommitMessage ||
(nextContextualCommitMessage.description !== lastContextualCommitMessage.description &&

This comment was marked as spam.

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.

3 participants