summaryrefslogtreecommitdiffstats
path: root/pack-revindex.h
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2014-06-19 23:19:43 +0200
committerJunio C Hamano <gitster@pobox.com>2014-06-20 00:20:53 +0200
commit95244ae3dd49b3eed4dbfe09299b9d8847622218 (patch)
treeb70932b2e4e8205c2f6f6b0cfcb88ca172c2d9d9 /pack-revindex.h
parentuse xstrfmt in favor of manual size calculations (diff)
downloadgit-95244ae3dd49b3eed4dbfe09299b9d8847622218.tar.xz
git-95244ae3dd49b3eed4dbfe09299b9d8847622218.zip
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 'pack-revindex.h')
0 files changed, 0 insertions, 0 deletions