Re: whitespace checking in git-add?
- From
Sverre Rabbelier <srabbelier@gmail.com>
- Date
- Feb 21, 2009, 19:40 UTC
- Message-ID
- <fabb9a1e0902211140l7f3671bt2d175f36300ded7b@mail.gmail.com>
- In-Reply-To
- <alpine.LFD.2.00.0902211424490.5511@xanadu.home>
Heya,
On Sat, Feb 21, 2009 at 20:26, Nicolas Pitre <nico@cam.org> wrote:
Show 9 quoted lines
> On Sat, 21 Feb 2009, Sverre Rabbelier wrote: >> On Sat, Feb 21, 2009 at 03:14, Nicolas Pitre <nico@cam.org> wrote: >> > 2) run 'git rebase -f --whitespace=fix HEAD~' >> >> Thanks for the plug ;), but you should note that that only works on a >> very recent git. It's not even in master yet, according to [0] it's >> been in next for only 7 days. > > Oh, OK... Still better than a non existing feature.
That's true :). Btw, it's also possible to do: $ git rebase --whitespace=fix HEAD~
The --whitespace=fix will automagically turn on the -f :).
-- Cheers, Sverre Rabbelier