Skip to content
New issue

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

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

Already on GitHub? # to your account

Feature suggestion: print full commit msg to stdout if aborted #9

Closed
wturrell opened this issue Jan 21, 2016 · 2 comments
Closed

Feature suggestion: print full commit msg to stdout if aborted #9

wturrell opened this issue Jan 21, 2016 · 2 comments
Labels
enhancement User-facing feature enhancements

Comments

@wturrell
Copy link

Supposing I run git commit and write a longish message (e.g. a couple of paragraphs in the body) using my editor of choice. There's an error though, I've left a trailing period in the first line.

Continue with commit anyways (this keeps the current commit message)? [y/n]

If I answer 'n' to that, next time I commit I've lost all my original text. If someone chooses n, could you print the full message they entered underneath so they can copy and paste it back into the editor?

(Unless you think the correct action is to commit anyway and then amend it.)

@jorisroovers jorisroovers added the enhancement User-facing feature enhancements label Jan 21, 2016
@jorisroovers
Copy link
Owner

More than reasonable request :-)

It's unlikely that I'll have time to work on this in the next week or so, but I'll look into it for the next release.

Thanks!

@wturrell
Copy link
Author

Thanks :)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement User-facing feature enhancements
Projects
None yet
Development

No branches or pull requests

2 participants