about summary refs log tree commit diff
diff options
context:
space:
mode:
-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."