From: Alexandre Julliard Date: Sun, 28 Oct 2007 10:07:14 +0000 (+0100) Subject: git.el: Run git-gc --auto after commits. X-Git-Tag: v1.5.4-rc0~313 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d53a35020d380c199b010c9884ab15995f8e982b;p=git.git git.el: Run git-gc --auto after commits. Signed-off-by: Alexandre Julliard Signed-off-by: Junio C Hamano --- diff --git a/contrib/emacs/git.el b/contrib/emacs/git.el index e5ee8ce58..e147da059 100644 --- a/contrib/emacs/git.el +++ b/contrib/emacs/git.el @@ -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)