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

Poista viesti

Vastaa
Lähettäjä: intrigeri
Päiväys:  
Vastaanottaja: The Tails public development discussion list
Aihe: 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!