* trailing whitespace problem
@ 2007-10-02 12:07 lode leroy
2007-10-02 18:54 ` Junio C Hamano
0 siblings, 1 reply; 2+ messages in thread
From: lode leroy @ 2007-10-02 12:07 UTC (permalink / raw)
To: git
when I use git commit -a, I get the following message:
*
* You have some suspicious patch lines:
*
* In src/test.c
* trailing whitespace (line 60)
src/test.c:60: }
when I fix the whitespace problem, and do "git commit -a" again,
I still get the same message.
Only after adding the file again, with "git add src/test.c",
I can commit my changes.
git version 1.5.3.2 (on cygwin)
ps: not related to CR/LF...
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: trailing whitespace problem
2007-10-02 12:07 trailing whitespace problem lode leroy
@ 2007-10-02 18:54 ` Junio C Hamano
0 siblings, 0 replies; 2+ messages in thread
From: Junio C Hamano @ 2007-10-02 18:54 UTC (permalink / raw)
To: lode leroy; +Cc: git
"lode leroy" <lode.leroy@gmail.com> writes:
> when I use git commit -a, I get the following message:
>
> *
> * You have some suspicious patch lines:
> *
> * In src/test.c
> * trailing whitespace (line 60)
> src/test.c:60: }
>
> when I fix the whitespace problem, and do "git commit -a" again,
> I still get the same message.
>
> Only after adding the file again, with "git add src/test.c",
> I can commit my changes.
Interesting. Are you doing anything unusual, like "assume unchanged"?
> git version 1.5.3.2 (on cygwin)
>
> ps: not related to CR/LF...
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-10-02 18:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-02 12:07 trailing whitespace problem lode leroy
2007-10-02 18:54 ` Junio C Hamano
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).