diff options
| author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2021-01-05 20:42:43 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2021-01-05 14:58:29 -0800 |
| commit | 0c439117bbc8f51b9c13b323ea7a9f76892a433d (patch) | |
| tree | c4ff06ca33f7ada91fa7cf008123a3dd582a5818 /commit-graph.c | |
| parent | mktag tests: test verify_object() with replaced objects (diff) | |
| download | git-0c439117bbc8f51b9c13b323ea7a9f76892a433d.tar.gz git-0c439117bbc8f51b9c13b323ea7a9f76892a433d.zip | |
mktag: use default strbuf_read() hint
Change the hardcoded hint of 2^12 to 0. The default strbuf hint is
perfectly fine here, and the only reason we were hardcoding it is
because it survived migration from a pre-strbuf fixed-sized buffer.
See fd17f5b5f77 (Replace all read_fd use with strbuf_read, and get rid
of it., 2007-09-10) for that migration.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-graph.c')
0 files changed, 0 insertions, 0 deletions
