rebase -i and --whitespace, was Re: [PATCH] git-rebase.sh: Update USAGE string (No. 1)
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Feb 4, 2008, 15:06 UTC
- Message-ID
- <alpine.LSU.1.00.0802041505230.7372@racer.site>
- In-Reply-To
- <200802041113.m14BDLMl004301@mi1.bluebottle.com>
Hi,
On Mon, 4 Feb 2008, しらいしななこ wrote:
> I tried to run "git rebase --interactive --whitespace=strip" but it does > not seem to strip blank characters at the end of my lines. Did I find a > bug?
Yes. Interactive rebase never bothered with --whitespace options, since it works purely with cherry-pick (the --merge option to non-interactive rebase). Therefore, the operation is not patch based, and does not call git-apply at all (which would handle the whitespace).
Ciao, Dscho