Re: [PATCH] Quick description of possible gitattributes system
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Mar 2, 2007, 13:56 UTC
- Message-ID
- <es9aal$5gf$1@sea.gmane.org>
- In-Reply-To
- <200703011206.47213.andyparkins@gmail.com>
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