File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ test_expect_success 'creating a tag with --create-reflog should create reflog' '
97
97
test_when_finished "git tag -d tag_with_reflog1" &&
98
98
git tag --create-reflog tag_with_reflog1 &&
99
99
git reflog exists refs/tags/tag_with_reflog1 &&
100
- sed -e "s/^.* //" .git/logs/refs/tags/tag_with_reflog1 >actual &&
100
+ test-tool ref-store main for-each-reflog-ent refs/tags/tag_with_reflog1 | sed -e "s/^.* //" >actual &&
101
101
test_cmp expected actual
102
102
'
103
103
@@ -108,7 +108,7 @@ test_expect_success 'annotated tag with --create-reflog has correct message' '
108
108
test_when_finished "git tag -d tag_with_reflog2" &&
109
109
git tag -m "annotated tag" --create-reflog tag_with_reflog2 &&
110
110
git reflog exists refs/tags/tag_with_reflog2 &&
111
- sed -e "s/^.* //" .git/logs/refs/tags/tag_with_reflog2 >actual &&
111
+ test-tool ref-store main for-each-reflog-ent refs/tags/tag_with_reflog2 | sed -e "s/^.* //" >actual &&
112
112
test_cmp expected actual
113
113
'
114
114
You can’t perform that action at this time.
0 commit comments