{"thread":{"id":"16096","subject":"[BUG] git log --walk-reflogs --pretty=oneline --all","startedAt":"2008-10-30T15:19:57Z","lastAt":"2008-11-03T21:01:18Z","messageCount":2,"participants":["Leo Razoumov","Johannes Schindelin"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"94303","messageId":"ee2a733e0810300819r373ce1eeta335a39a0fcb77df@mail.gmail.com","threadId":"16096","inReplyTo":null,"subject":"[BUG] git log --walk-reflogs --pretty=oneline --all","fromName":"Leo Razoumov","fromEmail":"slonik.az@gmail.com","sentAt":"2008-10-30T15:19:57Z","receivedAt":"2008-10-30T15:19:57Z","isPatch":false,"sender":{"key":"slonik.az@gmail.com","avatar":null},"body":"Take a test repository that already has several commits in it, do the\nfollowing and watch the results:\n\nsh$ git reflog expire --expire=1.second.ago --all\nsh$ git log --walk-reflogs --pretty=oneline --all\n\nI am using git-1.6.0.2 and that's what I get\n\nsh$ git reflog expire --expire=1.second.ago --all\nsh$ git log --walk-reflogs --pretty=oneline --all\n60684d9df4193d91ef679173ef211275b9ad457f\n810948facab2268139a1d4aac1368282e5ef1a9a\n56f321d71b1bf6180977e9e3ff23836350ea2921 020\n9e7f5cfb0fa20c44747f3d9111ccf161a2892\n6160d0084fb8b02c3c1b5f1dd835d921d53ec86a\n84de8b17fcab52a9c00587b81eb043c8614b37c5 68762f\nc23396e88e8ef8a1497d4f340a1bd69fa4\n96bb86bfdd5f506ef233608c2ca8d58a13c834dd\n287c7e907cd41dba25454d5708262e73a80c2bbb 2fcde3a98\n09755d33f4b4093b1f2ef319f7ebe36\n8e5b9847a38905e9d921d231c712c54720a4de5a\n6ecfbc2bde9b771fba56d4b85ad2952b4fe0405c 0b71dc288ac2\naf4a2670e608c22e26beee272fd0 455601d6f414e400bfabb6410074b6ebee2696e0\ne78e5c0b98dfd44cc9e1e5d56a1e094d295a7c97\n\nFirst of all, this log's content is next to zero. Secondly, all\nreflogs are already empty and I expected no output at all.\n\n--Leo--\n"},{"id":"94812","messageId":"alpine.DEB.1.00.0811032158540.24407@pacific.mpi-cbg.de","threadId":"16096","inReplyTo":"ee2a733e0810300819r373ce1eeta335a39a0fcb77df@mail.gmail.com","subject":"Re: [BUG] git log --walk-reflogs --pretty=oneline --all","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2008-11-03T21:01:18Z","receivedAt":"2008-11-03T21:01:18Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi,\n\nOn Thu, 30 Oct 2008, Leo Razoumov wrote:\n\n> Take a test repository that already has several commits in it, do the \n> following and watch the results:\n> \n> sh$ git reflog expire --expire=1.second.ago --all\n> sh$ git log --walk-reflogs --pretty=oneline --all\n\nLike so?\n\n-- snip --\ndiff --git a/t/t1410-reflog.sh b/t/t1410-reflog.sh\nindex 5b24f05..d253067 100755\n--- a/t/t1410-reflog.sh\n+++ b/t/t1410-reflog.sh\n@@ -216,4 +216,11 @@ test_expect_success 'delete' '\n \n '\n \n+test_expect_success 'expired' '\n+\n+\tgit reflog expire --expire=1.second.ago --all &&\n+\tgit log --walk-reflogs --pretty=oneline --all\n+\n+'\n+\n test_done\n-- snap --\n\n> I am using git-1.6.0.2 and that's what I get\n> \n> sh$ git reflog expire --expire=1.second.ago --all\n> sh$ git log --walk-reflogs --pretty=oneline --all\n> 60684d9df4193d91ef679173ef211275b9ad457f\n> 810948facab2268139a1d4aac1368282e5ef1a9a\n> 56f321d71b1bf6180977e9e3ff23836350ea2921 020\n> 9e7f5cfb0fa20c44747f3d9111ccf161a2892\n> 6160d0084fb8b02c3c1b5f1dd835d921d53ec86a\n> 84de8b17fcab52a9c00587b81eb043c8614b37c5 68762f\n> c23396e88e8ef8a1497d4f340a1bd69fa4\n> 96bb86bfdd5f506ef233608c2ca8d58a13c834dd\n> 287c7e907cd41dba25454d5708262e73a80c2bbb 2fcde3a98\n> 09755d33f4b4093b1f2ef319f7ebe36\n> 8e5b9847a38905e9d921d231c712c54720a4de5a\n> 6ecfbc2bde9b771fba56d4b85ad2952b4fe0405c 0b71dc288ac2\n> af4a2670e608c22e26beee272fd0 455601d6f414e400bfabb6410074b6ebee2696e0\n> e78e5c0b98dfd44cc9e1e5d56a1e094d295a7c97\n> \n> First of all, this log's content is next to zero. Secondly, all\n> reflogs are already empty and I expected no output at all.\n\nWell, in my test there was no output at all.  Just as expected.\n\nMaybe you can come up with a test script that reproduces your claims?  But \nmaybe your Git version is substantially different from mine?  Mine is \n1.6.0.2.763.g72663.\n\nCiao,\nDscho\n"}]}