Browse Source
Just counting objects is not sufficient. There are some race conditions with receive packs and delta base completion that may confuse such a simple algorithm. Instead always do the larger set computations, and rely on the PackWriter having no objects pending as the way to avoid creating an empty pack file. Change-Id: Ic81fefb158ed6ef8d6522062f2be0338a49f6bc4stable-3.0
Shawn Pearce
12 years ago
1 changed files with 7 additions and 18 deletions
Loading…
Reference in new issue