Browse Source
The simpler algorithm is to load all branch tips into an ObjectWalk and run that walk exactly once. This avoids redoing work related to parsing and considering trees reused across side branches. Move the connectivity check into its own helper method. This moves it left one level of identation, and makes it easier to fit the method's logic with less line wrapping. Add a "Counting objects..." progress monitor around this phase. Its what is used when a server receives a push and is also trying to verify the client sent all required objects. Change-Id: I4d53d75d0cdd1a13fff7d513a6ae0b2d14ea4090stable-4.9
Shawn Pearce
7 years ago
1 changed files with 35 additions and 19 deletions
Loading…
Reference in new issue