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

Üzenet törlése

Válasz az üzenetre
Szerző: intrigeri
Dátum:  
Címzett: The Tails public development discussion list
Tárgy: 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!