Merge branch 'cb/open-noatime-clear-errno'
[gitweb.git] / t / t1411-reflog-show.sh
index d568b35b43372fb8f95bf4c91397b3769a2ca413..6ac7734d79be21a82feeadff10064bb4ca7ad47b 100755 (executable)
@@ -166,4 +166,9 @@ test_expect_success 'git log -g -p shows diffs vs. parents' '
        test_cmp expect actual
 '
 
+test_expect_success 'reflog exists works' '
+       git reflog exists refs/heads/master &&
+       ! git reflog exists refs/heads/nonexistent
+'
+
 test_done