From: Johannes Sixt Date: Wed, 15 Oct 2008 06:26:36 GMT Subject: Re: builtin conversion between tabs and spaces Message-ID: <48F58D1C.2040208@viscovery.net> In-Reply-To: Stefan Karpinski schrieb: > This led me to wonder if it wouldn't make sense to have this > conversion ability built into git. This wouldn't help your case a lot. It is still at the discretion of each individual repository owner to enable the conversion. (You didn't mean to make this conversion mandatory, did you?) BTW, you don't need to change git code to achieve this. It's sufficient to install a suitable "clean" filter: echo "*.c filter=c-code" > .git/info/attributes git config filter.c-code.clean tabs2spaces where tabs2spaces is your utility that does the conversion. -- Hannes