[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: non-fast-forward pushes to Emacs Git repo "scratch" branches?
From: |
Ted Zlatanov |
Subject: |
Re: non-fast-forward pushes to Emacs Git repo "scratch" branches? |
Date: |
Thu, 23 Jun 2016 10:18:12 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
On Mon, 20 Jun 2016 16:21:25 +0100 address@hidden (Phillip Lord) wrote:
PL> Stefan Monnier <address@hidden> writes:
>>> Can the Emacs Git repo allow non-fast-forward pushes to "scratch/*"
>>> branches?
>>
>> No, because the non-fast-forward constraint is applied globally.
>> But you can delete a branch and then push a new branch under the same
>> name, with the same end result.
PL> It is possible to enforce this on a per branch basis. Just applying it
PL> on master and anything starting with "emacs" (for release branches)
PL> would do the trick.
PL> It would also be possible to prevent, for example, accidental deletions
PL> of emacs-25, or master as well as enforce the "don't check into emacs-25
PL> without asking" rule.
I'd be excited to see these improvements. Another is to enforce the
commit message formatting.
I don't have access to the relevant infrastructure, unfortunately. I
imagine it's a matter of modifying the receive hook scripts. Can I help
make it happen?
Thanks
Ted