summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2022-02-04 23:48:33 (GMT)
committerJunio C Hamano <gitster@pobox.com>2022-02-26 01:16:32 (GMT)
commit2bbb28a3ee2f7252de02f5d0db4da79090b4f8fc (patch)
treefafc4041d7a15e23b86b2505ae29e6292ecae47a /t
parent44439c1c5827480f68b37c3cc38f257eaeb3ed2c (diff)
downloadgit-2bbb28a3ee2f7252de02f5d0db4da79090b4f8fc.zip
git-2bbb28a3ee2f7252de02f5d0db4da79090b4f8fc.tar.gz
git-2bbb28a3ee2f7252de02f5d0db4da79090b4f8fc.tar.bz2
object-file.c: add a literal version of write_object_file_prepare()
Split off a *_literally() variant of the write_object_file_prepare() function. To do this create a new "hash_object_body()" static helper. We now defer the type_name() call until the very last moment in format_object_header() for those callers that aren't "hash-object --literally". Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
0 files changed, 0 insertions, 0 deletions