summaryrefslogtreecommitdiffstats
path: root/project.py
diff options
context:
space:
mode:
authorShawn O. Pearce <sop@google.com>2009-07-03 15:22:49 -0700
committerShawn O. Pearce <sop@google.com>2009-07-03 16:39:19 -0700
commit1875ddd47c0bf38e5cc52e1e5875caabce2d8742 (patch)
treecfa269cd610a1e569cd3b3b5e0d3a92675d74a7d /project.py
parent446c4e5556a4c85621d61b3aba63d084300c6224 (diff)
downloadgit-repo-1875ddd47c0bf38e5cc52e1e5875caabce2d8742.tar.gz
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>
Diffstat (limited to 'project.py')
0 files changed, 0 insertions, 0 deletions