From: Nicolas Pitre <nico@cam.org>
To: Chris Frey <cdfrey@foursquare.net>
Cc: git@vger.kernel.org
Subject: Re: whitespace checking in git-add?
Date: Fri, 20 Feb 2009 21:14:25 -0500 (EST) [thread overview]
Message-ID: <alpine.LFD.2.00.0902202109010.5511@xanadu.home> (raw)
In-Reply-To: <20090220230454.GA10112@foursquare.net>
On Fri, 20 Feb 2009, Chris Frey wrote:
> Hi,
>
> Is it possible to somehow enable whitespace checking during git-add?
> In my searches, I can only seem to find mention of it in git-diff.
One thing you can do is:
1) 'git add' and 'git commit' as usual
2) run 'git rebase -f --whitespace=fix HEAD~'
Nicolas
next prev parent reply other threads:[~2009-02-21 2:16 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 [this message]
2009-02-21 11:21 ` Sverre Rabbelier
2009-02-21 19:26 ` Nicolas Pitre
2009-02-21 19:40 ` Sverre Rabbelier
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=alpine.LFD.2.00.0902202109010.5511@xanadu.home \
--to=nico@cam.org \
--cc=cdfrey@foursquare.net \
--cc=git@vger.kernel.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).