unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* git problems: >78 column commit message created by git revert.  I'm stuck.  What do I do?
@ 2018-10-03 12:49 Alan Mackenzie
  2018-10-03 13:46 ` Stefan Monnier
  2018-10-03 23:41 ` Noam Postavsky
  0 siblings, 2 replies; 4+ messages in thread
From: Alan Mackenzie @ 2018-10-03 12:49 UTC (permalink / raw)
  To: emacs-devel

Hello, Emacs.

Yet another git problem.

I did git revert -e <hash-1> <hash-2>, committing the results to my
local git repository.

I then did git pull --rebase.  This failed with the message "Line longer
than 78 characters in commit message".  The revert operation created log
messages with very long lines.  :-(

Then, following the suggestion in the error message, I did git rebase
--abort, to get back to a stable state.

However, I now have two unrebaseable commits in my repo, and it seems
likely the savannah server would reject them anyway.

I'd like to use git commit --amend, but this can only change one of the
two commit messages created by git revert.

How can I resolve this mess?

-- 
Alan Mackenzie (Nuremberg, Germany).



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-10-06  9:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-03 12:49 git problems: >78 column commit message created by git revert. I'm stuck. What do I do? Alan Mackenzie
2018-10-03 13:46 ` Stefan Monnier
2018-10-03 23:41 ` Noam Postavsky
2018-10-06  9:17   ` Alan Mackenzie

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).