diff options
author | Jeff King <peff@peff.net> | 2017-03-24 18:26:24 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-03-24 20:34:07 +0100 |
commit | 98718242cfd18f106dfcd7663282fb9906fd38a5 (patch) | |
tree | ce6edc4110674db32066ad0ba81cc836db565c6b /pack-write.c | |
parent | fast-import: use xsnprintf for writing sha1s (diff) | |
download | git-98718242cfd18f106dfcd7663282fb9906fd38a5.tar.xz git-98718242cfd18f106dfcd7663282fb9906fd38a5.zip |
fast-import: use xsnprintf for formatting headers
The stream_blob() function checks the return value of
snprintf and dies. This is more simply done with
xsnprintf (and matches the similar call in store_object).
The message the user would get is less specific, but since
the point is that this _shouldn't_ ever happen, that's OK.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pack-write.c')
0 files changed, 0 insertions, 0 deletions