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

git ls-tree -r reports error but exits with zero?

From
Jon Seymour <jon.seymour@gmail.com>
Date
Jul 23, 2011, 10:06 UTC
Message-ID
<CAH3Anro74AHu+_ziskT6Wmxjqmi4JrU3p8KThagEtevuhAHF=Q@mail.gmail.com>
Is this expected?

$ git ls-tree -r cbe968356e26e371ff64ccb3c619d00b9808f186 >/dev/null error: Could not read 8277223234f15b362a78203d04f4d3404682be73 $ echo $? 0

jon.
Message 1 of 1 in “git ls-tree -r reports error but exits with zero?”
  1. Jon SeymourJul 23, 2011

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.