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.
1 parent c3eb95a commit 45fef15Copy full SHA for 45fef15
t/t3301-notes.sh
@@ -653,6 +653,11 @@ test_expect_success 'notes.displayRef respects order' '
653
test_cmp expect-both-reversed actual
654
'
655
656
+test_expect_success 'notes.displayRef with no value handled gracefully' '
657
+ test_must_fail git -c notes.displayRef log -0 --notes &&
658
+ test_must_fail git -c notes.displayRef diff-tree --notes HEAD
659
+'
660
+
661
test_expect_success 'GIT_NOTES_DISPLAY_REF works' '
662
GIT_NOTES_DISPLAY_REF=refs/notes/commits:refs/notes/other \
663
git log -2 >actual &&
0 commit comments