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

"git cat-file <sha1>" shows usage but should not?

From
SPSebastian Pipping <webmaster@hartwork.org>
Date
Apr 15, 2009, 16:50 UTC
Message-ID
<49E61067.6060802@hartwork.org>
Here is what I did:

$ git cat-file -t b8c11fbbffbe171c4960058fa2d96f708e57a80c commit

$ git cat-file b8c11fbbffbe171c4960058fa2d96f708e57a80c
usage: git cat-file [-t|-s|-e|-p|<type>] <sha1>
   or: git cat-file [--batch|--batch-check] < <list_of_sha1s>
[..]

$ git --version git version 1.6.3.rc0.1.gf800.dirty

Sebastian
Next: Jeff King
Message 1 of 8 in “"git cat-file <sha1>" shows usage but should not?”
  1. Sebastian PippingApr 15, 2009
  2. Jeff KingApr 15, 2009
  3. Sebastian PippingApr 15, 2009
  4. Jeff KingApr 15, 2009
  5. Junio C HamanoApr 15, 2009
  6. Jeff KingApr 15, 2009
  7. Julian PhillipsApr 15, 2009
  8. Jeff KingApr 15, 2009

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.