all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* allow non-fast-forward pushes to scratch branches?
@ 2017-05-02 22:34 Eric Abrahamsen
  2017-05-03  6:50 ` Yuri Khan
  0 siblings, 1 reply; 4+ messages in thread
From: Eric Abrahamsen @ 2017-05-02 22:34 UTC (permalink / raw)
  To: emacs-devel

I've been working on this scratch/gnus-search branch, which is meant to
be rebased on features/gnus-select. At some point I made the mistake of
rebasing to master, when features/gnus-select had not been recently
rebased to master. I got that more or less sorted out, but I've done a
bunch of history re-writing on this scratch branch since, and I'd like
to just blast it and replace it with the current state.

I can't push with --force, because the repo (quite rightly) seems to
have denyNonFastforwards = true.

The branch really should just be rebased to features/gnus-select and
nothing else. Could non-fast-forward pushes be allowed to scratch
branches? Or maybe I can just delete the branch altogether, and push a
new one with the same name?

Apologies from a git git.

Eric




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: allow non-fast-forward pushes to scratch branches?
  2017-05-02 22:34 allow non-fast-forward pushes to scratch branches? Eric Abrahamsen
@ 2017-05-03  6:50 ` Yuri Khan
  2017-05-03 15:19   ` Eric Abrahamsen
  0 siblings, 1 reply; 4+ messages in thread
From: Yuri Khan @ 2017-05-03  6:50 UTC (permalink / raw)
  To: Eric Abrahamsen; +Cc: Emacs developers

On Wed, May 3, 2017 at 5:34 AM, Eric Abrahamsen <eric@ericabrahamsen.net> wrote:

> Or maybe I can just delete the branch altogether, and push a
> new one with the same name?

Past discussions on the same issue have listed this as a workaround, yes.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: allow non-fast-forward pushes to scratch branches?
  2017-05-03  6:50 ` Yuri Khan
@ 2017-05-03 15:19   ` Eric Abrahamsen
  2017-05-15 20:09     ` Ted Zlatanov
  0 siblings, 1 reply; 4+ messages in thread
From: Eric Abrahamsen @ 2017-05-03 15:19 UTC (permalink / raw)
  To: emacs-devel

Yuri Khan <yuri.v.khan@gmail.com> writes:

> On Wed, May 3, 2017 at 5:34 AM, Eric Abrahamsen <eric@ericabrahamsen.net> wrote:
>
>> Or maybe I can just delete the branch altogether, and push a
>> new one with the same name?
>
> Past discussions on the same issue have listed this as a workaround, yes.

Thanks very much, I'll do that.




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: allow non-fast-forward pushes to scratch branches?
  2017-05-03 15:19   ` Eric Abrahamsen
@ 2017-05-15 20:09     ` Ted Zlatanov
  0 siblings, 0 replies; 4+ messages in thread
From: Ted Zlatanov @ 2017-05-15 20:09 UTC (permalink / raw)
  To: emacs-devel

On Wed, 03 May 2017 08:19:24 -0700 Eric Abrahamsen <eric@ericabrahamsen.net> wrote: 

EA> Yuri Khan <yuri.v.khan@gmail.com> writes:
>> On Wed, May 3, 2017 at 5:34 AM, Eric Abrahamsen <eric@ericabrahamsen.net> wrote:
>> 
>>> Or maybe I can just delete the branch altogether, and push a
>>> new one with the same name?
>> 
>> Past discussions on the same issue have listed this as a workaround, yes.

EA> Thanks very much, I'll do that.

...and can the Git diff script stop sending notifications when scratch
branches are deleted? That's the single biggest annoyance right now for
this workaround.

Ted




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-05-15 20:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-02 22:34 allow non-fast-forward pushes to scratch branches? Eric Abrahamsen
2017-05-03  6:50 ` Yuri Khan
2017-05-03 15:19   ` Eric Abrahamsen
2017-05-15 20:09     ` Ted Zlatanov

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.