@matheusbsbs / matheus-bagliano / commits / d53a35020d
Fork 0

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>

Alexandre Julliard committed Oct 28, 2007 at 11:07 UTC d53a35020d380c199b010c9884ab15995f8e982b
1 file changed +1
contrib/emacs/git.el
+1
@@ -796,6 +796,7 @@ Return the list of files that haven't been handled."
796 (with-current-buffer buffer (erase-buffer))
797 (dolist (info files) (git-set-fileinfo-state info 'uptodate))
798 (git-call-process-env nil nil "rerere")
799 + (git-call-process-env nil nil "gc" "--auto")
800 (git-refresh-files)
801 (git-refresh-ewoc-hf git-status)
802 (message "Committed %s." commit)