From 4c5ca17ff43ab7727cfff8d7794067022cfbd47f Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Mon, 4 Feb 2008 13:35:39 +0100 Subject: Kill the comments when committing --- gitsum.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gitsum.el b/gitsum.el index 93038a7..46764b7 100644 --- a/gitsum.el +++ b/gitsum.el @@ -74,7 +74,8 @@ A numeric argument serves as a repeat count." (with-current-buffer log-edit-parent-buffer (shell-command-on-region (point-min) (point-max) "git apply --cached")) - (shell-command-on-region (point-min) (point-max) "git commit -F-")) + (shell-command-on-region (point-min) (point-max) + "git commit -F- --cleanup=strip")) (defun gitsum () "Entry point into gitsum-diff-mode." -- cgit 1.4.1