git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sverre Rabbelier <srabbelier@gmail.com>
To: Nicolas Pitre <nico@cam.org>
Cc: Chris Frey <cdfrey@foursquare.net>, git@vger.kernel.org
Subject: Re: whitespace checking in git-add?
Date: Sat, 21 Feb 2009 20:40:41 +0100	[thread overview]
Message-ID: <fabb9a1e0902211140l7f3671bt2d175f36300ded7b@mail.gmail.com> (raw)
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:
> 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

      reply	other threads:[~2009-02-21 19:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-20 23:04 whitespace checking in git-add? Chris Frey
2009-02-21  2:14 ` Nicolas Pitre
2009-02-21 11:21   ` Sverre Rabbelier
2009-02-21 19:26     ` Nicolas Pitre
2009-02-21 19:40       ` Sverre Rabbelier [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fabb9a1e0902211140l7f3671bt2d175f36300ded7b@mail.gmail.com \
    --to=srabbelier@gmail.com \
    --cc=cdfrey@foursquare.net \
    --cc=git@vger.kernel.org \
    --cc=nico@cam.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).