git.el: Run git-gc --auto after commits.
PATCH 1/1 git.el: Run git-gc --auto after commits.
Signed-off-by Alexandre Julliard <[email protected]>
--- contrib/emacs/git.el | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
contrib/emacs/git.el +1 -0
@@ -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)
Signature · 5 lines
1.5.3.4.404.g5a866 -- Alexandre Julliard [email protected]