Re: Vimeo plugin



On Fri, 2010-04-23 at 13:41 +0200, Víctor M. Jáquez L. wrote:
> Hi Joaquim,
> 
> On Wed, Apr 21, 2010 at 11:42:41AM +0200, Joaquim Rocha wrote:
> > I've been developing a Grilo plugin to prove search for videos in Vimeo.
> 
> I'll put my bad-ass coder hat :)
> 
> > +typedef struct { 
> 
> trailing white space
> 


In order to avoid this trailings whitespaces, you can add a hook in git
that will warn you about them.

Just create the file ".git/hooks/pre-commit" and add the following line:

git diff --check --cached

It will refuse to commit when there is a trailing whitespace.


	J.A.




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