diff options
author | Jan Klötzke <jan@kloetzke.net> | 2023-07-01 22:57:02 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-07-17 14:16:05 -0700 |
commit | 468887f0f8a0a9e465737c3ad23cb40c8d690f2f (patch) | |
tree | 438acebc131ee04b7b2f4047d9cf22d49d0a6818 /commit.c | |
parent | 5e238546dc7a232d8998f1cd1ec9d3f4a0add68b (diff) |
ref-filter: handle nested tags in --points-at option
Tags are dereferenced until reaching a different object type to handle
nested tags, e.g. on checkout. In contrast, "git tag --points-at=..."
fails to list such nested tags because only one level of indirection is
obtained in filter_refs(). Implement the recursive dereferencing for the
"--points-at" option when filtering refs to unify the behaviour.
Signed-off-by: Jan Klötzke <jan@kloetzke.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions