We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c42986f + dbe7b41 commit af152bdCopy full SHA for af152bd
t/t3301-notes.sh
@@ -1120,9 +1120,10 @@ test_expect_success 'GIT_NOTES_REWRITE_REF overrides config' '
1120
test_config notes.rewriteMode overwrite &&
1121
test_config notes.rewriteRef refs/notes/other &&
1122
echo $(git rev-parse HEAD^) $(git rev-parse HEAD) |
1123
- GIT_NOTES_REWRITE_REF= git notes copy --for-rewrite=foo &&
+ GIT_NOTES_REWRITE_REF=refs/notes/commits \
1124
+ git notes copy --for-rewrite=foo &&
1125
git log -1 >actual &&
- test_cmp expect actual
1126
+ grep "replacement note 3" actual
1127
'
1128
1129
test_expect_success 'git notes copy diagnoses too many or too few parameters' '
0 commit comments