Michael J Gruber [off-list ref] writes:
Signed-off-by: Michael J Gruber <redacted>
---
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 :<path> syntax is not specific here, you can use it in other Git
commands)
quoted hunk
+--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.
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/