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

Slet denne besked

Besvar denne besked
Skribent: intrigeri
Dato:  
Til: The Tails public development discussion list
Emne: 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!