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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Matthieu Moy
Date: Thursday, June 24, 2010 - 4:53 am

Michael J Gruber <git@drmicha.warpmail.net> writes:


Actually, you can't textconv from the worktree, but you can from the
index, saying

git cat-file --textconv :path/to/file

(the :<path> syntax is not specific here, you can use it in other Git
commands)


So the "defaulting to HEAD" is incorrect. Also, I prefer
<treeish>:<path> to <treeish:path>, to make it clear the : is actually
a :.

What about this:

--textconv:: 
	Show the content as transformed by a textconv filter. In this
	case, <object> has be of the form <treeish>:<path>, or :<path>
	to run the filter on the file <path> stored in the index.

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
--
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)