bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: git warning about whitespace?


From: Ralf Wildenhues
Subject: Re: git warning about whitespace?
Date: Mon, 29 Sep 2008 22:02:28 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

Hi Bruno,

* Bruno Haible wrote on Mon, Sep 29, 2008 at 09:53:42PM CEST:
> Just saw this while performing a git operation:
> 
>   $ git rebase origin/master
>   First, rewinding head to replay your work on top of it...
>   Applying Propagate effects of putenv/setenv/unsetenv to child processes.
>   Applying A new test for posix_spawn.
>   .dotest/patch:309: trailing whitespace.
>   }  
>   .dotest/patch:496: trailing whitespace.
>   }  
>   warning: 2 lines add whitespace errors.
> 
> Is git now warning about coding style?!

One of the hooks in .git/hooks likely is.  You can chmod -x them to
disable them.

> And what's the meaning of the closing braces below the nonexistent
> filenames?

That's the line that contains the trailing white space.
Yep, not very informative if you can't easily see the patch itself.

Cheers,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]