From: Johannes Schindelin Date: Tue, 24 Apr 2007 16:04:08 GMT Subject: Re: What's cooking in git.git (topics) Message-ID: In-Reply-To: <81b0412b0704240858w6121430fj624582539f14ceee@mail.gmail.com> Hi, On Tue, 24 Apr 2007, Alex Riesen wrote: > On 4/23/07, Junio C Hamano wrote: > > > The earlier example I gave would fit this pattern rather well. > > If somebody (me) cannot deal with UTF-8 encoded Japanese text > > very well, that user personally can mark such a file in > > $GIT_DIR/info/attributes as 'filter=utf8-japanese-text' and > > define the iconv based filtering driver in $GIT_DIR/config in > > the repository that he (me) uses for editing. > > which will be a PITA to setup in each and every clone of the > repository, unless it is cloned with the repo. Not if you do it with templates. If it is such a special case that you absolutely _need_ filters, and cannot use it without filters, it is probably in a very small group. And there, you just setup the templates, and voila: you have your filters without much ado. Ciao, Dscho