aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorAlexandre Julliard <julliard@winehq.org>2007-10-28 11:07:14 +0100
committerJunio C Hamano <gitster@pobox.com>2007-10-28 14:08:28 -0700
commitd53a35020d380c199b010c9884ab15995f8e982b (patch)
treedf3f1d86fac6af15aec01c228937663cb56d66a2 /contrib
parent2f6e86a86fb9830c0c3205a317f6205f156cfacc (diff)
downloadgit-d53a35020d380c199b010c9884ab15995f8e982b.tar.gz
git-d53a35020d380c199b010c9884ab15995f8e982b.tar.xz
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>
Diffstat (limited to 'contrib')
-rw-r--r--contrib/emacs/git.el1
1 files changed, 1 insertions, 0 deletions
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)