X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft1411-reflog-show.sh;h=ba25ff354d6fc4998237b1145737faf6c836966e;hb=832ac79edf0e0e9108f5da5b10b496a227667f40;hp=c18ed8edf994f3d701ab1d01c2e05b2585174d31;hpb=1d7d6ad539fabd49421d8ef7b27c0f287430bc7d;p=git.git diff --git a/t/t1411-reflog-show.sh b/t/t1411-reflog-show.sh index c18ed8edf..ba25ff354 100755 --- a/t/t1411-reflog-show.sh +++ b/t/t1411-reflog-show.sh @@ -64,4 +64,13 @@ test_expect_success 'using --date= shows reflog date (oneline)' ' test_cmp expect actual ' +: >expect +test_expect_success 'empty reflog file' ' + git branch empty && + : >.git/logs/refs/heads/empty && + + git log -g empty >actual && + test_cmp expect actual +' + test_done