From: Matthieu Moy Date: Thu, 24 Jun 2010 11:53:57 GMT Subject: Re: [PATCH] git-cat-file.txt: Document --textconv Message-ID: In-Reply-To: <2251bbc1e40505dcb80103bf5daebea07dc0e9f7.1277374210.git.git@drmicha.warpmail.net> Michael J Gruber writes: > Signed-off-by: Michael J Gruber > --- > This formulation is based on my understanding that you can't cat-file > --textconv something in the index or worktree. Actually, you can't textconv from the worktree, but you can from the index, saying git cat-file --textconv :path/to/file (the : syntax is not specific here, you can use it in other Git commands) > +--textconv:: > + Show the content as transformed by a textconv filter. In this case, > + has be of the form , with treeish defaulting to > + HEAD. So the "defaulting to HEAD" is incorrect. Also, I prefer : to , to make it clear the : is actually a :. What about this: --textconv:: Show the content as transformed by a textconv filter. In this case, has be of the form :, or : to run the filter on the file stored in the index. -- Matthieu Moy http://www-verimag.imag.fr/~moy/