Jakub Narebski escreveu: > But this break I think PCL-CVS behaviour compatibility. By the way, > [Backspace] should unmark all files. it's M-DEL. Is complete PCL-CVS compatibility a target? >From 62a005d36f97e9950c37a59ee5c976567d702d7a Mon Sep 17 00:00:00 2001 From: Han-Wen Nienhuys <hanwen@xxxxxxxxx> Date: Wed, 6 Dec 2006 13:41:09 +0100 Subject: [PATCH] git.el: unmark files in after committing. In the usual workflow, I mark a few files, and then commit, and then mark another few for commit. This patch removes the need to unmark between commits. Signed-off-by: Han-Wen Nienhuys <hanwen@xxxxxxxxx> --- contrib/emacs/git.el | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/contrib/emacs/git.el b/contrib/emacs/git.el index 972c402..642f7bb 100644 --- a/contrib/emacs/git.el +++ b/contrib/emacs/git.el @@ -596,7 +596,8 @@ and returns the process output as a string." (git-run-command nil nil "rerere")) (git-refresh-files) (git-refresh-ewoc-hf git-status) - (message "Committed %s." commit)) + (message "Committed %s." commit) + (git-unmark-all)) (message "Commit aborted.")))) (message "No files to commit."))) (delete-file index-file)))))) -- 1.4.4.1.gc9922-dirty -- Han-Wen Nienhuys - hanwen@xxxxxxxxx - http://www.xs4all.nl/~hanwen - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html