| test_description='reflog walk shows repeated commits again' |
| test_expect_success 'setup commits' ' |
| echo content >file && git add file && git commit -m one && |
| echo content >>file && git add file && git commit -m two && |
| test_expect_success 'setup reflog with alternating commits' ' |
| test_expect_success 'reflog shows all entries' ' |
| topic@{0} reset: moving to two |
| topic@{1} reset: moving to one |
| topic@{2} reset: moving to two |
| topic@{3} reset: moving to one |
| topic@{4} branch: Created from HEAD |
| git log -g --format="%gd %gs" topic >actual && |