aboutsummaryrefslogtreecommitdiff
path: root/diff.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2017-03-28 15:45:52 -0400
committerJunio C Hamano <gitster@pobox.com>2017-03-28 15:28:04 -0700
commit4aa7d75e48250026fce9b496cb5405c269331c31 (patch)
tree0203ee654b72bedbee5efba8aba8a662a545f991 /diff.c
parent594fa9998c41277c579a94657100fa303160aa7e (diff)
downloadgit-4aa7d75e48250026fce9b496cb5405c269331c31.tar.gz
git-4aa7d75e48250026fce9b496cb5405c269331c31.tar.xz
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 <peff@peff.net>
Diffstat (limited to 'diff.c')
0 files changed, 0 insertions, 0 deletions