git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] git.el: Run git-gc --auto after commits.

From
AJAlexandre Julliard <julliard@winehq.org>
Date
Oct 28, 2007, 10:07 UTC
Message-ID
<874pgbd031.fsf@wine.dyndns.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
---
 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 e5ee8ce..e147da0 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)
-- 
1.5.3.4.404.g5a866

-- 
Alexandre Julliard
julliard@winehq.org
Message 1 of 1 in “git.el: Run git-gc --auto after commits.”
  1. git.el: Run git-gc --auto after commits.Alexandre Julliard, Oct 28, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.