odb_mkstemp: use git_path_buf
authorJeff King <redacted>
Tue, 28 Mar 2017 19:45:52 +0000 (15:45 -0400)
committerJunio C Hamano <redacted>
Tue, 28 Mar 2017 22:28:04 +0000 (15:28 -0700)
commit4aa7d75e48250026fce9b496cb5405c269331c31
tree0203ee654b72bedbee5efba8aba8a662a545f991
parent594fa9998c41277c579a94657100fa303160aa7e
odb_mkstemp: use git_path_buf

Since git_path_buf() is smart enough to replace "objects/"
with the correct object path, we can use it instead of
manually assembling the path. That's slightly shorter, and
will clean up any non-canonical bits in the path.

Signed-off-by: Jeff King <redacted>
environment.c
git clone https://git.99rst.org/PROJECT