summaryrefslogtreecommitdiff
path: root/include/git2
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2015-06-10 10:44:14 +0200
committerCarlos Martín Nieto <cmn@dwim.me>2015-06-10 10:44:14 +0200
commit878293f7e1d62b951aaa7dc106ca9c6783112d96 (patch)
tree8bf2c0c3812b7ce64abf8b6fb0458f37e9defd92 /include/git2
parentca2857d81b5783b03d32ddc9d6f338bfec8d93dd (diff)
downloadlibgit2-878293f7e1d62b951aaa7dc106ca9c6783112d96.tar.gz
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.
Diffstat (limited to 'include/git2')
0 files changed, 0 insertions, 0 deletions