-
Type:
Suggestion
-
Resolution: Unresolved
-
Component/s: Repository - Size Limit / GC
-
None
-
1
By default, Git picks delta bases using a hash of the filename, in which only the last part of the path matters. In repositories where the same filename appears in many folders, files from different folders are often stored as deltas against each other instead of against their own earlier versions. A common example is projects, which keep translations in locale folders with identical filenames (values-hu/strings.xml, values-el/strings.xml).
This makes the stored data larger than it needs to be, and repository size grows faster than the changes would suggest.
Request Allow repository repacks to use --path-walk, which groups objects by their exact path so deltas are computed between versions of the same file.