]> asedeno.scripts.mit.edu Git - git.git/blobdiff - t/t3301-notes.sh
Merge branch 'mr/gitweb-jsmin'
[git.git] / t / t3301-notes.sh
index 1d6cd45b55a2ae2e0a7d6728b04112d1c0f43446..b2e7b0703979ce462455f19d4c3c82f02dc2540e 100755 (executable)
@@ -65,6 +65,15 @@ test_expect_success 'create notes' '
        test_must_fail git notes show HEAD^
 '
 
+cat >expect <<EOF
+d423f8c refs/notes/commits@{0}: notes: Notes added by 'git notes add'
+EOF
+
+test_expect_success 'create reflog entry' '
+       git reflog show refs/notes/commits >output &&
+       test_cmp expect output
+'
+
 test_expect_success 'edit existing notes' '
        MSG=b3 git notes edit &&
        test ! -f .git/NOTES_EDITMSG &&