diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2018-07-16 01:27:57 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-07-16 14:27:39 -0700 |
commit | 4b048c917f9e2cc33771b61b8f12eeac10ea8a51 (patch) | |
tree | 15b601bfa96d1286e84406625efa174e4f752521 /t | |
parent | commit: express tree entry constants in terms of the_hash_algo (diff) | |
download | tgif-4b048c917f9e2cc33771b61b8f12eeac10ea8a51.tar.xz |
strbuf: allocate space with GIT_MAX_HEXSZ
In order to be sure we have enough space to use with any hash algorithm,
use GIT_MAX_HEXSZ to allocate space.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
0 files changed, 0 insertions, 0 deletions