pack.c
32.2 KB
-
pack: use git_buf when building the index name · 878293f7
The way we currently do it depends on the subtlety of strlen vs sizeof and the fact that .pack is one longer than .idx. Let's use a git_buf so we can express the manipulation we want much more clearly.
Carlos Martín Nieto committed