diff options
author | Junio C Hamano <gitster@pobox.com> | 2023-07-25 22:05:24 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-07-25 22:05:24 +0300 |
commit | 5929e66755acc797b2612d8d6d6b6fd6e7759169 (patch) | |
tree | bdf6fe770fdd951a48db8e571904fa963cc30d71 /t | |
parent | 02f50d0d1901759d9e7aec1367902cab09db63a6 (diff) | |
parent | d9e00621591549cd2d9989d290a7e0c63eadd03b (diff) |
Merge branch 'jk/nested-points-at'
"git tag --list --points-at X" showed tags that directly refers to
object X, but did not list a tag that points at such a tag, which
has been corrected.
* jk/nested-points-at:
ref-filter: simplify return type of match_points_at
ref-filter: avoid parsing non-tags in match_points_at()
ref-filter: avoid parsing tagged objects in match_points_at()
ref-filter: handle nested tags in --points-at option
Diffstat (limited to 't')
-rwxr-xr-x | t/t6302-for-each-ref-filter.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/t/t6302-for-each-ref-filter.sh b/t/t6302-for-each-ref-filter.sh index 1ce5f490e9..af223e44d6 100755 --- a/t/t6302-for-each-ref-filter.sh +++ b/t/t6302-for-each-ref-filter.sh @@ -45,6 +45,8 @@ test_expect_success 'check signed tags with --points-at' ' sed -e "s/Z$//" >expect <<-\EOF && refs/heads/side Z refs/tags/annotated-tag four + refs/tags/doubly-annotated-tag An annotated tag + refs/tags/doubly-signed-tag A signed tag refs/tags/four Z refs/tags/signed-tag four EOF |