Andy Parkins wrote:
+ - prettyfilter
+ Run by git-cat-file or git-show when content is being pretty-printed
+ for display to the user. If no prettyfilter is set, then it should
+ default to outfilter.
I'd rather have plumbing operate without filters (if it is possible),
so git-cat-file would not run prettyfilter, and git-show would run it.
Or at least detect if output is tty, so one can do something like
"git cat-file -p v1.0.0:gitweb/git-logo.png > git-logo.png" and get
expected result, while "git show v1.0.0:gitweb/git-logo.png" would
show the image.
--
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git