git.el: Run git-gc --auto after commits.
Signed-off-by: Alexandre Julliard <julliard@winehq.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
2f6e86a86f
commit
d53a35020d
@ -796,6 +796,7 @@ Return the list of files that haven't been handled."
|
||||
(with-current-buffer buffer (erase-buffer))
|
||||
(dolist (info files) (git-set-fileinfo-state info 'uptodate))
|
||||
(git-call-process-env nil nil "rerere")
|
||||
(git-call-process-env nil nil "gc" "--auto")
|
||||
(git-refresh-files)
|
||||
(git-refresh-ewoc-hf git-status)
|
||||
(message "Committed %s." commit)
|
||||
|
Loading…
Reference in New Issue
Block a user