[PATCH] git-cat-file.txt: Document --textconv

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Michael J Gruber
Date: Thursday, June 24, 2010 - 3:14 am

Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
---
This formulation is based on my understanding that you can't cat-file
 --textconv something in the index or worktree.

 Documentation/git-cat-file.txt |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/Documentation/git-cat-file.txt b/Documentation/git-cat-file.txt
index 58c8d65..da932ab 100644
--- a/Documentation/git-cat-file.txt
+++ b/Documentation/git-cat-file.txt
@@ -9,14 +9,15 @@ git-cat-file - Provide content or type and size information for repository objec
 SYNOPSIS
 --------
 [verse]
-'git cat-file' (-t | -s | -e | -p | <type>) <object>
+'git cat-file' (-t | -s | -e | -p | <type> | --textconv ) <object>
 'git cat-file' (--batch | --batch-check) < <list-of-objects>
 
 DESCRIPTION
 -----------
 In its first form, the command provides the content or the type of an object in
 the repository. The type is required unless '-t' or '-p' is used to find the
-object type, or '-s' is used to find the object size.
+object type, or '-s' is used to find the object size, or '--textconv' is used
+(which implies type "blob").
 
 In the second form, a list of objects (separated by linefeeds) is provided on
 stdin, and the SHA1, type, and size of each object is printed on stdout.
@@ -51,6 +52,11 @@ OPTIONS
 	or to ask for a "blob" with <object> being a tag object that
 	points at it.
 
+--textconv::
+	Show the content as transformed by a textconv filter. In this case,
+	<object> has be of the form <treeish:path>, with treeish defaulting to
+	HEAD.
+
 --batch::
 	Print the SHA1, type, size, and contents of each object provided on
 	stdin. May not be combined with any other options or arguments.
-- 
1.7.1.621.g01d76

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] git-cat-file.txt: Document --textconv, Michael J Gruber, (Thu Jun 24, 3:14 am)
Re: [PATCH] git-cat-file.txt: Document --textconv, Matthieu Moy, (Thu Jun 24, 4:53 am)
Re: [PATCH] git-cat-file.txt: Document --textconv, Michael J Gruber, (Thu Jun 24, 5:56 am)
[PATCHv2] git-cat-file.txt: Document --textconv, Michael J Gruber, (Thu Jun 24, 5:56 am)
Re: [PATCHv2] git-cat-file.txt: Document --textconv, Matthieu Moy, (Thu Jun 24, 6:54 am)
Re: [PATCH] git-cat-file.txt: Document --textconv, Junio C Hamano, (Thu Jun 24, 1:09 pm)
Re: [PATCHv2] git-cat-file.txt: Document --textconv, Junio C Hamano, (Thu Jun 24, 1:10 pm)
Re: [PATCH] git-cat-file.txt: Document --textconv, Michael J Gruber, (Fri Jun 25, 2:04 am)
RE: [PATCH] git-rev-parse.txt: Add more examples for caret ..., Peter Kjellerstedt, (Mon Jun 28, 3:03 am)
[PATCHv2] git-rev-parse.txt: Add more examples for caret a ..., Michael J Gruber, (Mon Jun 28, 12:01 pm)