Re: git: Tralining whitespace error during commit

2007-09-04 Thread Larry Hall (Cygwin)
Eric Blake wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Eric Blake on 8/9/2007 11:07 AM: And yet another, which I have been considering doing the next time I package git (right now, I'm kind of waiting for git 1.5.3 to come out), 1.5.3 is out, so I'm in the middle of pack

Re: git: Tralining whitespace error during commit

2007-09-03 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Eric Blake on 8/9/2007 11:07 AM: > And yet another, which I have been considering doing the next time I package > git (right now, I'm kind of waiting for git 1.5.3 to come out), 1.5.3 is out, so I'm in the middle of packaging it. > is t

Re: git: Tralining whitespace error during commit

2007-08-09 Thread Eric Blake
Matt Seitz (matseitz cisco.com> writes: > "To solve the problem, you need to edit .git/hooks/pre-commit and > comment out the following lines: > > if (/\s$/) { > bad_line("trailing whitespace", $_); > }" > > Is this the best solution? It's one approach. Another is disabling the pre-commit hoo

git: Tralining whitespace error during commit

2007-08-09 Thread Matt Seitz \(matseitz\)
When I run "git commit" to check in changes to my "/cygdrive/c/windows/system32/drivers/etc/hosts" file, I receive the following error messages like the following (Note: I've changed the host name and IP addresses to protect its identity): "[EMAIL PROTECTED] /cygdrive/c/windows/system32/drivers/e