]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'jk/log-decorate-optim'
authorJunio C Hamano <gitster@pobox.com>
Wed, 28 Jul 2021 20:17:58 +0000 (13:17 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 28 Jul 2021 20:17:58 +0000 (13:17 -0700)
commitc9d6d8a1938f86594b33785a8228d9f35ad457c8
tree2b658bf0a8be2b3c2a736e6e4032acdb778da1aa
parent01369fdfd3d0deec41c55306dae42f00dfbfa582
parentd1ed8d6cee57c91ec770a8a183ed40c3ec867ac1
Merge branch 'jk/log-decorate-optim'

Optimize "git log" for cases where we wasted cycles to load ref
decoration data that may not be needed.

* jk/log-decorate-optim:
  load_ref_decorations(): fix decoration with tags
  add_ref_decoration(): rename s/type/deco_type/
  load_ref_decorations(): avoid parsing non-tag objects
  object.h: add lookup_object_by_type() function
  object.h: expand docstring for lookup_unknown_object()
  log: avoid loading decorations for userformats that don't need it
  pretty.h: update and expand docstring for userformat_find_requirements()
builtin/log.c
object.c
t/t4202-log.sh