git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: whitespace checking in git-add?

From
Sverre Rabbelier <srabbelier@gmail.com>
Date
Feb 21, 2009, 11:21 UTC
Message-ID
<fabb9a1e0902210321k6bdd8726jea7c930a5a61cce5@mail.gmail.com>
In-Reply-To
<alpine.LFD.2.00.0902202109010.5511@xanadu.home>
Heya,
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.

[0] http://repo.or.cz/w/git.git?a=search&h=refs/heads/next&st=commit&s=srabbelier
-- 
Cheers,

Sverre Rabbelier
Previous: Nicolas PitreNext: Nicolas Pitre
Message 3 of 5 in “whitespace checking in git-add?”
  1. Chris FreyFeb 20, 2009
  2. Nicolas PitreFeb 21, 2009
  3. Sverre RabbelierFeb 21, 2009
  4. Nicolas PitreFeb 21, 2009
  5. Sverre RabbelierFeb 21, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.