diff options
author | Alexandre Julliard <julliard@winehq.org> | 2007-10-28 11:07:14 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-10-28 14:08:28 -0700 |
commit | d53a35020d380c199b010c9884ab15995f8e982b (patch) | |
tree | df3f1d86fac6af15aec01c228937663cb56d66a2 /contrib/emacs | |
parent | 2f6e86a86fb9830c0c3205a317f6205f156cfacc (diff) | |
download | git-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/emacs')
-rw-r--r-- | contrib/emacs/git.el | 1 |
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) |