Egg git interface for emacs, commit empty message

I am using an egg (emacs got git) as the git interface in emacs. Whenever I try to execute commit -amend, I get"GIT-COMMIT-AMEND> Aborting commit due to empty commit message".

This is what I do:

C-u C-x v c

Then a commit buffer appears with the message of my previous commit.

Then after C-c C-cI get the message above: an empty commit message.

I think that earlier I had this behavior with regular commits (as in a non-fix), but I could not remember or find how I solved it.

I tried to edit the post (adding a place somewhere). No work.

I tried to save the buffer before commit, which would not work either (since it C-c C-cis inactive in a buffer other than the commit buffer).

Any clue?

+2
source
4

, .

. , git.exe.

:

M-x customize-group <RET> egg <RET>

Egg git command git.exe , .

, :

  • git
  • git envvar
  • " ..." git, .

, elisp, , , , nil egg-log-msg-commit.

, .

+1

- , emacs commit --amend? .

[06:28:18] <burningdog> question: git. , "git commit" , .git/COMMIT_EDITMSG TextWrangler ( Mac) , "Aborting commit due to empty commit message." ? ?

[06:29:24] <Ilari> burndog: , TextWrangler . , git , .

[06:30:10] <burningdog> : ... . /usr/bin/edit , , TextWranger. , ...

[06:30:27] <Ilari> burndog: , . , -F <file> .

[06:31:26] <burningdog> : , git /usr/bin/edit, ?

[06:32:09] <Ilari> , , , .

[06:32:54] <burningdog> ah, - . .

[06:34:06] <Ilari> burndog: core.editor $GIT_EDITOR $VISUAL $EDITOR

[06:34:31] <burningdog> : bash, pico , - . :)

+1

PsPad , . . , git :

[Path]\PsPad.exe .git/COMMIT_EDITMSG

PsPad '/', PsPad COMMIT_EDITMSG , '.git'. emacs/egg, , , , .

PsPad: , script PsPad:

"C:\Programme\PsPad editor\PsPad" $(echo $1 | sed 's/\//\\/')

, git. "/" "\", PsPad :

[Path]\PsPad .git\COMMIT_EDITMSG
+1

MSYS git Windows. git.exe . ( : "c:\Program Files\Git\bin\git.exe ').

MSYS git git.cmd, , -, git.exe, . - , -, emacs.

: , . git.cmd, , . git. emacs, git.exe emacs. , git, , , emacs.

emacs, HOME , , , , .emacs.

0

All Articles