git-repo/subcmds
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
..
__init__.py Initial Contribution 2008-10-21 07:00:00 -07:00
abandon.py Modify 'repo abandon' to be more like 'repo checkout' and 'repo start' 2009-04-18 15:15:24 -07:00
branches.py branches: Enable output of multiple projects 2010-05-04 07:51:28 -07:00
checkout.py Improve checkout performance for the common unmodified case 2009-04-18 15:04:41 -07:00
diff.py Initial Contribution 2008-10-21 07:00:00 -07:00
download.py Fix to display the usage message of the command download when the user 2011-01-09 17:39:22 -08:00
forall.py forall: Silently skip missing projects 2011-01-09 17:39:22 -08:00
grep.py Fix format string bugs in grep 2010-06-17 19:09:37 -07:00
help.py Support a level 2 heading in help description text 2009-04-21 08:28:06 -07:00
init.py sync: Enable use of git clone --reference 2010-10-29 12:08:50 -07:00
manifest.py Add repo manifest -o to save a manifest 2009-03-05 10:32:38 -08:00
prune.py Initial Contribution 2008-10-21 07:00:00 -07:00
rebase.py rebase: Pass through more options 2010-07-15 17:43:02 -07:00
selfupdate.py sync: Run git gc --auto after fetch 2011-01-09 17:39:22 -08:00
smartsync.py Aliasing sync -s to 'smartsync' 2010-05-17 09:58:55 -07:00
stage.py Only display project path in 'repo stage -i' 2009-04-18 11:22:13 -07:00
start.py Require a project or '--all' to be specified when using 'repo start'. 2009-04-22 18:05:50 -07:00
status.py Make 'repo status' show the branch you are currently on 2009-04-18 15:31:36 -07:00
sync.py sync: Run git gc --auto after fetch 2011-01-09 17:39:22 -08:00
upload.py upload: Catch and cleanly report connectivity errors 2011-01-09 17:39:22 -08:00
version.py Don't permit users to run repo status in a mirror client 2009-03-03 17:47:06 -08:00