summaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2014-06-19 17:28:00 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-06-19 15:20:55 -0700
commita0279e1865c7ce7417c0134e2ab32b20531f502a (patch)
tree1033a3f6cf8dd7435e34cd398e239b134b8fe1d0 /dir.c
parentuse xstrfmt to replace xmalloc + strcpy/strcat (diff)
downloadtgif-a0279e1865c7ce7417c0134e2ab32b20531f502a.tar.xz
setup_git_env: use git_pathdup instead of xmalloc + sprintf
This is shorter, harder to get wrong, and more clearly captures the intent. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'dir.c')
0 files changed, 0 insertions, 0 deletions