Commit 878293f7e1d62b951aaa7dc106ca9c6783112d96

Carlos Martín Nieto 2015-06-10T10:44:14

pack: use git_buf when building the index name 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.