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

Refresh magit buffer delete ongoing commit message #57

Closed
jreybert opened this issue Jan 5, 2016 · 1 comment
Closed

Refresh magit buffer delete ongoing commit message #57

jreybert opened this issue Jan 5, 2016 · 1 comment

Comments

@jreybert
Copy link
Owner

jreybert commented Jan 5, 2016

When refreshing, detect if a commit message is ongoing, and save it. Write it to EDIT_COMMITMSG is not a good lead.

@jreybert jreybert added the bug label Jan 5, 2016
@jreybert jreybert added this to the Release 1.6.0 milestone Jan 5, 2016
@jreybert
Copy link
Owner Author

jreybert commented Mar 4, 2016

Use git gui trick:

  • while writing a commit message, write it in .git/MAGIT_MSG
  • when commit --amend, keep MAGIT_MSG but only show COMMIT_EDITMSG
  • discard it when commiting
  • think to dump commit message on vimagit events (e.g. refresh) and on some vim events (buffer close...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant