commit - 83559c7c55a947f55e037a6cc7e696f7db3a1318
commit + e7747ce0d28821e986ee6b30a87968e0f677f3b5
blob - 1abed875c568f14638d591acb3058b5c0627524c
blob + 10b723eb5bbf766f454e32581004617af391e15d
--- vc-got.el
+++ vc-got.el
"Commit FILES with COMMENT as commit message."
(with-temp-buffer
(unless (zerop (vc-got--call "commit" "-m"
- ;; emacs add ``Summary:'' at the start of the commit
- ;; message. vc-git doesn't seem to treat this specially.
- ;; Since it's annoying, remove it.
- (string-remove-prefix "Summary: " comment)
+ (log-edit-extract-headers nil comment)
files))
(error (buffer-string)))))