Please sign in to comment.
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 <email@example.com> (cherry picked from commit 1875ddd)
- Loading branch information...
Showing with 3 additions and 0 deletions.