Hi,
On Tue, 24 Apr 2007, Alex Riesen wrote:
On 4/23/07, Junio C Hamano [off-list ref] wrote:
quoted
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