Go to file
Shawn O. Pearce 0d2b61f11d sync: Run git gc --auto after fetch
Users may wind up with a lot of loose object content in projects they
don't frequently make changes in, but that are modified by others.

Since we bypass many git code paths that would have otherwise called
out to `git gc --auto`, its possible for these projects to have
their loose object database grow out of control.  To help prevent
that, we now invoke it ourselves during the network half of sync.

Signed-off-by: Shawn O. Pearce <sop@google.com>
(cherry picked from commit 1875ddd47c)
2011-01-09 17:39:22 -08:00
docs Added feature to print a <notice> from manifest at the end of a sync. 2010-11-01 15:08:06 -07:00
hooks Automatically install Gerrit Code Review's commit-msg hook 2010-03-06 19:21:00 -08:00
subcmds sync: Run git gc --auto after fetch 2011-01-09 17:39:22 -08:00
tests Fix error parsing a non-existant configuration file 2009-07-02 16:12:57 -07:00
.gitignore .gitignore: add an entry for repopickles 2009-06-28 15:08:56 -07:00
.project Add PyDev project files to repo 2009-06-02 00:09:07 +02:00
.pydevproject Add PyDev project files to repo 2009-06-02 00:09:07 +02:00
color.py Add -p to repo forall to improve output formatting 2009-04-18 13:49:13 -07:00
command.py Make path references OS independent 2011-01-09 17:39:19 -08:00
COPYING Initial Contribution 2008-10-21 07:00:00 -07:00
editor.py Fix for handling values of EDITOR which contain a space. 2010-08-06 17:05:04 -07:00
error.py Document any crashes from the user's text editor 2009-06-24 07:15:21 -07:00
git_command.py Use os.environ.copy() instead of dict() 2011-01-09 17:39:22 -08:00
git_config.py upload: Catch and cleanly report connectivity errors 2011-01-09 17:39:22 -08:00
git_refs.py Make usage of open safer by setting binary mode and closing fds 2009-04-18 14:48:03 -07:00
git_ssh Don't allow git fetch to start ControlMaster 2010-10-29 08:15:14 -07:00
main.py Add "repo branch" as an alias for "repo branches" 2011-01-09 17:39:22 -08:00
manifest_xml.py Make path references OS independent 2011-01-09 17:39:19 -08:00
pager.py Don't start the pager if stdout is a pipe 2009-04-01 07:24:22 -07:00
progress.py Do not emit progress if stderr is not a tty 2010-05-27 16:48:36 -07:00
project.py Make path references OS independent 2011-01-09 17:39:19 -08:00
repo Make path references OS independent 2011-01-09 17:39:19 -08:00
SUBMITTING_PATCHES Document how to contribute to the repo project 2009-07-02 13:18:55 -07:00
trace.py Fix repo --trace to show ref and config loads 2009-04-18 09:54:51 -07:00