[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Reformat all of src/
From: |
Phillip Lord |
Subject: |
Re: Reformat all of src/ |
Date: |
Fri, 30 Dec 2016 10:30:23 -0000 |
User-agent: |
SquirrelMail/1.5.2 [SVN] |
On Thu, December 29, 2016 4:17 pm, Eli Zaretskii wrote:
>> Date: Thu, 29 Dec 2016 13:18:59 -0000
>> From: "Phillip Lord" <address@hidden>
>> Cc: Phillip Lord <address@hidden>, address@hidden,
>> Dmitry Gutov <address@hidden>
>>
>>
>> I just checked and I think that comparing git diff --numstat output
>> with and without -b should identify when whitespace-only changes have
>> happened; this could be caught in the commit hook.
>
> Every mandatory check in the commit hook is a potential annoyance
> (think of someone, such as myself, who needs to push changes for
> others), so I'd prefer not to add any, unless we really must
When you say "push" changes, I guess you mean commit patches? AFAICT,
commit hooks do not run on pushes, so there should be no problem. But,
yes, for patches, then indeed if it is you applying them, then you will be
affected by the commit hook.
On the other hand, if the person who creates the patch uses git to do so,
the commit hook should affect their local commit when creating the patch.
Likewise with pull requests.
But, I agree, it is a small additional hassle.
Phil
- Re: Reformat all of src/, (continued)
- Re: Reformat all of src/, Paul Eggert, 2016/12/28
- Re: Reformat all of src/, Dmitry Gutov, 2016/12/28
- Re: Reformat all of src/, Paul Eggert, 2016/12/29
- Re: Reformat all of src/, Dmitry Gutov, 2016/12/29
- Re: Reformat all of src/, Paul Eggert, 2016/12/29
- Re: Reformat all of src/, Phillip Lord, 2016/12/30
- Re: Reformat all of src/, Phillip Lord, 2016/12/29
- Re: Reformat all of src/, Eli Zaretskii, 2016/12/29
- Re: Reformat all of src/, John Covici, 2016/12/29
- Re: Reformat all of src/, John Covici, 2016/12/29
- Re: Reformat all of src/,
Phillip Lord <=
- Re: Reformat all of src/, John Yates, 2016/12/28
- Re: Reformat all of src/, Philippe Vaucher, 2016/12/31
Re: Reformat all of src/, Richard Stallman, 2016/12/28
- Re: Reformat all of src/, Eli Zaretskii, 2016/12/28
- Re: Reformat all of src/, Tino Calancha, 2016/12/29
- Re: Reformat all of src/, Eli Zaretskii, 2016/12/29
- Re: Reformat all of src/, Richard Stallman, 2016/12/29
- Re: Reformat all of src/, Eli Zaretskii, 2016/12/30
Re: Reformat all of src/, Stefan Monnier, 2016/12/29
Reformat all of src/, hector, 2016/12/28