about summary refs log tree commit diff
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2008-02-04 13:35:39 +0100
committerChristian Neukirchen <chneukirchen@gmail.com>2008-02-04 13:35:39 +0100
commit4c5ca17ff43ab7727cfff8d7794067022cfbd47f (patch)
tree60a1261ac5a90038bed44c787cf88b5da1d2588e
parent053c2e952af50af09cd382b78cac637b7075b74e (diff)
downloadgitsum-4c5ca17ff43ab7727cfff8d7794067022cfbd47f.tar.gz
gitsum-4c5ca17ff43ab7727cfff8d7794067022cfbd47f.tar.xz
gitsum-4c5ca17ff43ab7727cfff8d7794067022cfbd47f.zip
Kill the comments when committing
-rw-r--r--gitsum.el3
1 files changed, 2 insertions, 1 deletions
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."