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

[PATCH] Update git-cat-file documentation

From
Aneesh Kumar K.V <aneesh.kumar@gmail.com>
Date
Jan 30, 2007, 07:56 UTC
Message-ID
<45befa72.48e904b7.4b64.ffffd83b@mx.google.com>
In-Reply-To
<11701438362085-git-send-email->
From: Aneesh Kumar K.V <aneesh.kumar@gmail.com> - unquoted

Update git-cat-file documentation with references for different ways of specifying <objects>

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@gmail.com>
---
 Documentation/git-cat-file.txt |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/Documentation/git-cat-file.txt b/Documentation/git-cat-file.txt
index 7e90ce9..075c0d0 100644
--- a/Documentation/git-cat-file.txt
+++ b/Documentation/git-cat-file.txt
@@ -19,7 +19,9 @@ or '-s' is used to find the object size.
 OPTIONS
 -------
 <object>::
-	The sha1 identifier of the object.
+	The name of the object to show.
+	For a more complete list of ways to spell object names, see
+	"SPECIFYING REVISIONS" section in gitlink:git-rev-parse[1].
 
 -t::
 	Instead of the content, show the object type identified by
-- 
1.5.0.rc2.75.gdbaa0-dirty
Previous: Junio C Hamano
Message 4 of 4 in “blameview: Use git-cat-file to read the file content.”
  1. blameview: Use git-cat-file to read the file content.Aneesh Kumar K.V, Jan 30, 2007
  2. blameview: Support browsable functionality to blameview.Aneesh Kumar K.V, Jan 30, 2007
  3. Junio C HamanoJan 30, 2007
  4. Update git-cat-file documentationAneesh Kumar K.V, Jan 30, 2007

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.