Ok, it was my bad. There *were* whitespaces on those lines, but in HEAD^, not head. Git only cares when they are introduced, not when they are removed. So git diff HEAD^..HEAD showed that strange line removal/add but git diff HEAD..HEAD^ shows me the whitespace. I recently set up emacs to strip whitespace whenever I save a file to prevent git from complaining (and it's good practice anyway), so that explains why I didn't expect the change Sorry about the mixup, and thanks for your help. On 6/21/07, Johannes Schindelin <Johannes.Schindelin@xxxxxx> wrote:
Hi, On Thu, 21 Jun 2007, Raimund Bauer wrote: > On Thu, 2007-06-21 at 02:13 +0100, Johannes Schindelin wrote: > > > Just a guess: core.autocrlf=true? > > My guess: apply.whitespace=strip Much better guess, I guess. Jason? Ciao, Dscho
- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html