]> Kevux Git Server - rit/commit
rev-list: extend print-info to print missing object type
authorJustin Tobler <jltobler@gmail.com>
Wed, 5 Feb 2025 00:41:47 +0000 (18:41 -0600)
committerJunio C Hamano <gitster@pobox.com>
Wed, 5 Feb 2025 17:32:01 +0000 (09:32 -0800)
commit3295c3539896750f742a56de0c4ac965f8d96303
tree11c2cce229b10b4324323adb9601315f5d6a7b5a
parentc6d896bcfde1cfb626c8bc25c71d00662ef7f22c
rev-list: extend print-info to print missing object type

Additional information about missing objects found in git-rev-list(1)
can be printed by specifying the `print-info` missing action for the
`--missing` option. Extend this action to also print missing object type
information inferred from its containing object. This token follows the
form `type=<type>` and specifies the expected object type of the missing
object.

Signed-off-by: Justin Tobler <jltobler@gmail.com>
Acked-by: Christian Couder <christian.couder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/rev-list-options.txt
builtin/rev-list.c
t/t6022-rev-list-missing.sh