]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'jc/cat-file-batch-default-format-optim'
authorJunio C Hamano <gitster@pobox.com>
Wed, 23 Mar 2022 21:09:31 +0000 (14:09 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 23 Mar 2022 21:09:31 +0000 (14:09 -0700)
commit889860e1ad85340896f404155f2f16621ca6989e
tree1e485ce6b2374061933a6d63cea345b12e489537
parent83510335c6f6c26089aaba8e40ef063ee68fa840
parenteb54a3391bb3bdd6806ebffc21281eae8d9c0dca
Merge branch 'jc/cat-file-batch-default-format-optim'

Optimize away strbuf_expand() call with a hardcoded formatting logic
specific for the default format in the --batch and --batch-check
options of "git cat-file".

* jc/cat-file-batch-default-format-optim:
  cat-file: skip expanding default format
builtin/cat-file.c