Skip to content

use previous commit msg for amend, Fixes #35182#35403

Merged
joaomoreno merged 1 commit intomicrosoft:masterfrom
ferderber:master
Dec 11, 2017
Merged

use previous commit msg for amend, Fixes #35182#35403
joaomoreno merged 1 commit intomicrosoft:masterfrom
ferderber:master

Conversation

@ferderber
Copy link
Contributor

@ferderber ferderber commented Sep 29, 2017

This is my first pull request!

Fixes #35182

When you use the amend commit feature, the commit message dialog shows the previous commit's message. If the commit isn't an amend commit or there are no previous commits to get a message from, it defaults to undefined (which displays a blank dialog box).

Hopefully this fits with the coding style for this project. If there are any issues/changes that need to be made to it, let me know.

@joaomoreno joaomoreno added this to the Backlog milestone Oct 2, 2017
@joaomoreno joaomoreno added the git GIT issues label Oct 2, 2017
@joaomoreno joaomoreno modified the milestones: Backlog, December 2017 Dec 11, 2017
@joaomoreno joaomoreno merged commit 26aa18d into microsoft:master Dec 11, 2017
@joaomoreno
Copy link
Member

Thanks! 🍻

@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

git GIT issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Commit Staged (Amend) asks for new commit message

2 participants