git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "lode leroy" <lode.leroy@gmail.com>
To: git@vger.kernel.org
Subject: trailing whitespace problem
Date: Tue, 2 Oct 2007 14:07:51 +0200	[thread overview]
Message-ID: <b41dbf4a0710020507va40ef83u50c88094f8c2823b@mail.gmail.com> (raw)

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...

             reply	other threads:[~2007-10-02 12:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-02 12:07 lode leroy [this message]
2007-10-02 18:54 ` trailing whitespace problem Junio C Hamano

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=b41dbf4a0710020507va40ef83u50c88094f8c2823b@mail.gmail.com \
    --to=lode.leroy@gmail.com \
    --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).