summaryrefslogtreecommitdiff
path: root/builtin/fetch.c
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2014-06-19 17:19:43 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-06-19 15:20:53 -0700
commit95244ae3dd49b3eed4dbfe09299b9d8847622218 (patch)
treeb70932b2e4e8205c2f6f6b0cfcb88ca172c2d9d9 /builtin/fetch.c
parentuse xstrfmt in favor of manual size calculations (diff)
downloadtgif-95244ae3dd49b3eed4dbfe09299b9d8847622218.tar.xz
use xstrdup instead of xmalloc + strcpy
This is one line shorter, and makes sure the length in the malloc and copy steps match. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/fetch.c')
0 files changed, 0 insertions, 0 deletions