Re: [Tails-dev] picky git hooks Was: meeting notes

Borrar esta mensaxe

Responder a esta mensaxe
Autor: intrigeri
Data:  
Para: The Tails public development discussion list
Asunto: Re: [Tails-dev] picky git hooks Was: meeting notes
emmapeel wrote (13 Mar 2016 09:27:31 GMT) :
> Anybody has a nice git hook that will spank me if I try to commit with
> trailing spaces?


This doesn't fully solve the problem, but it helps (at least when
doing `git add -p'):

git config --global apply.whitespace error

Cheers!