diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2015-06-10 10:44:14 +0200 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2015-06-10 10:44:14 +0200 |
commit | 878293f7e1d62b951aaa7dc106ca9c6783112d96 (patch) | |
tree | 8bf2c0c3812b7ce64abf8b6fb0458f37e9defd92 /tests/diff/blob.c | |
parent | ca2857d81b5783b03d32ddc9d6f338bfec8d93dd (diff) | |
download | libgit2-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 'tests/diff/blob.c')
0 files changed, 0 insertions, 0 deletions