[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: git pre-commit hook for merges (WAS: master has switched from Automa
From: |
Noam Postavsky |
Subject: |
Re: git pre-commit hook for merges (WAS: master has switched from Automake to GNU Make) |
Date: |
Sat, 29 Apr 2017 14:00:26 -0400 |
On Wed, Apr 12, 2017 at 2:26 PM, Paul Eggert <address@hidden> wrote:
>>
>> Perhaps we should change the hook so that it doesn't complain about
>> problems from merges?
>
> Something like that might make sense, yes, for people in Alan's situation.
> When I do a merge, though, I'd rather see problems from the other side (so
> that I can fix them). How about an environment variable that captures the
> user's preference?
Since git only runs the hooks on the merged changes when you pass
--no-commit to 'git merge', defaulting to non-blind merge doesn't
really work anyway. There I propose the opposite default, as in the
attached (also you had a copy-pasto "; done" in your patch).
v2-0001-Allow-bypassing-of-some-checks-when-merging.patch
Description: Text Data
Re: git pre-commit hook for merges (WAS: master has switched from Automake to GNU Make),
Noam Postavsky <=
- Re: git pre-commit hook for merges (WAS: master has switched from Automake to GNU Make), Paul Eggert, 2017/04/29
- Re: git pre-commit hook for merges (WAS: master has switched from Automake to GNU Make), Eli Zaretskii, 2017/04/29
- Re: git pre-commit hook for merges (WAS: master has switched from Automake to GNU Make), Noam Postavsky, 2017/04/29
- Re: git pre-commit hook for merges (WAS: master has switched from Automake to GNU Make), Eli Zaretskii, 2017/04/29
- Re: git pre-commit hook for merges (WAS: master has switched from Automake to GNU Make), Noam Postavsky, 2017/04/29
- Re: git pre-commit hook for merges (WAS: master has switched from Automake to GNU Make), Eli Zaretskii, 2017/04/29
- Re: git pre-commit hook for merges (WAS: master has switched from Automake to GNU Make), Noam Postavsky, 2017/04/30
- Re: git pre-commit hook for merges (WAS: master has switched from Automake to GNU Make), Eli Zaretskii, 2017/04/30