emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: non-fast-forward pushes to Emacs Git repo "scratch" branches?


From: Phillip Lord
Subject: Re: non-fast-forward pushes to Emacs Git repo "scratch" branches?
Date: Mon, 20 Jun 2016 16:21:25 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.95 (gnu/linux)

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.

It is possible to enforce this on a per branch basis. Just applying it
on master and anything starting with "emacs" (for release branches)
would do the trick.

It would also be possible to prevent, for example, accidental deletions
of emacs-25, or master as well as enforce the "don't check into emacs-25
without asking" rule.

All good things for newer developers.

Phil



reply via email to

[Prev in Thread] Current Thread [Next in Thread]