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

Supprimer ce message

Répondre à ce message
Auteur: intrigeri
Date:  
À: The Tails public development discussion list
Sujet: 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!