refs.h
4.6 KB
-
refs: include " sorted " in our packed-refs header · 9bf37ddd
This lets git know that we do in fact have written our packed-refs file sorted (which is apparently not necessarily the case) and it can then use the new-ish mmaped access which lets it avoid significant amounts of effort parsing potentially large files to get to a single piece of data.
Carlos Martín Nieto committed