all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: phillip.lord@russet.org.uk (Phillip Lord)
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: non-fast-forward pushes to Emacs Git repo "scratch" branches?
Date: Mon, 20 Jun 2016 16:21:25 +0100	[thread overview]
Message-ID: <871t3revii.fsf@russet.org.uk> (raw)
In-Reply-To: <jwv37ob8nhc.fsf-monnier+gmane.emacs.devel@gnu.org> (Stefan Monnier's message of "Fri, 17 Jun 2016 18:25:13 -0400")

Stefan Monnier <monnier@iro.umontreal.ca> 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



  parent reply	other threads:[~2016-06-20 15:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-17 13:43 non-fast-forward pushes to Emacs Git repo "scratch" branches? Ted Zlatanov
2016-06-17 22:25 ` Stefan Monnier
2016-06-17 23:08   ` John Wiegley
2016-06-18 10:23   ` Ted Zlatanov
2016-06-20 15:21   ` Phillip Lord [this message]
2016-06-23 14:18     ` Ted Zlatanov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871t3revii.fsf@russet.org.uk \
    --to=phillip.lord@russet.org.uk \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.