combine-diff: replace malloc/snprintf with xstrfmt
commit0dc3b035e03a4028a22cd2a8b5f21086e3227047
authorJeff King <peff@peff.net>
Tue, 28 Mar 2017 19:46:53 +0000 (28 15:46 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 30 Mar 2017 21:59:50 +0000 (30 14:59 -0700)
treed29e39d4d746d27859ce62adee63272ded49c0cb
parent5b1ef2cef4ff9d3213ec81465b99affb4a7c8083
combine-diff: replace malloc/snprintf with xstrfmt

There's no need to use the magic "100" when a strbuf can do
it for us.

Signed-off-by: Jeff King <peff@peff.net>
combine-diff.c