git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[BUG] git log --walk-reflogs --pretty=oneline --all

From
LRLeo Razoumov <slonik.az@gmail.com>
Date
Oct 30, 2008, 15:19 UTC
Message-ID
<ee2a733e0810300819r373ce1eeta335a39a0fcb77df@mail.gmail.com>

Take a test repository that already has several commits in it, do the following and watch the results:

sh$ git reflog expire --expire=1.second.ago --all sh$ git log --walk-reflogs --pretty=oneline --all

I am using git-1.6.0.2 and that's what I get

sh$ git reflog expire --expire=1.second.ago --all sh$ git log --walk-reflogs --pretty=oneline --all 60684d9df4193d91ef679173ef211275b9ad457f 810948facab2268139a1d4aac1368282e5ef1a9a 56f321d71b1bf6180977e9e3ff23836350ea2921 020 9e7f5cfb0fa20c44747f3d9111ccf161a2892 6160d0084fb8b02c3c1b5f1dd835d921d53ec86a 84de8b17fcab52a9c00587b81eb043c8614b37c5 68762f c23396e88e8ef8a1497d4f340a1bd69fa4 96bb86bfdd5f506ef233608c2ca8d58a13c834dd 287c7e907cd41dba25454d5708262e73a80c2bbb 2fcde3a98 09755d33f4b4093b1f2ef319f7ebe36 8e5b9847a38905e9d921d231c712c54720a4de5a 6ecfbc2bde9b771fba56d4b85ad2952b4fe0405c 0b71dc288ac2 af4a2670e608c22e26beee272fd0 455601d6f414e400bfabb6410074b6ebee2696e0 e78e5c0b98dfd44cc9e1e5d56a1e094d295a7c97

First of all, this log's content is next to zero. Secondly, all reflogs are already empty and I expected no output at all.

--Leo--
Next: Johannes Schindelin
Message 1 of 2 in “[BUG] git log --walk-reflogs --pretty=oneline --all”
  1. Leo RazoumovOct 30, 2008
  2. Johannes SchindelinNov 3, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.