]> git.ipfire.org Git - thirdparty/git.git/commitdiff
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)
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()

1  2 
builtin/log.c
object.c
t/t4202-log.sh

diff --cc builtin/log.c
Simple merge
diff --cc object.c
Simple merge
diff --cc t/t4202-log.sh
Simple merge