Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Julliard <julliard@winehq.org>2007-10-28 13:07:14 +0300
committerJunio C Hamano <gitster@pobox.com>2007-10-29 00:08:28 +0300
commitd53a35020d380c199b010c9884ab15995f8e982b (patch)
treedf3f1d86fac6af15aec01c228937663cb56d66a2 /contrib
parent2f6e86a86fb9830c0c3205a317f6205f156cfacc (diff)
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 e5ee8ce58b..e147da0596 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)