Re: builtin conversion between tabs and spaces
- From
Alex Riesen <raa.lkml@gmail.com>
- Date
- Oct 15, 2008, 06:25 UTC
- Message-ID
- <20081015062539.GB3775@blimp.localdomain>
- In-Reply-To
- <d4bc1a2a0810141844x76223e76xf04e07ece834fc61@mail.gmail.com>
Stefan Karpinski, Wed, Oct 15, 2008 03:44:10 +0200:
Show 11 quoted lines
> I find myself really wanting to enforce standards in the use of spaces > versus tabs. I deal with some unruly programmers who refuse to set > their editors to use soft tabs, but I *hate* tabs in the repo. And of > course others feel equally strongly about keeping only tabs in the > repo (e.g. the git repo). > > This led me to wonder if it wouldn't make sense to have this > conversion ability built into git. The following patch implements this > functionality. It still needs work—it's not meant to be final, just to > give an idea—but I just wanted to see if people on the git list > thought this sort of thing would be worthwhile at all.
Is your conversion two-way? IOW, is it possible to convert the converted file and get the original? (Because all the existing conversions are reversible)