unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* elpa - can we force-push branches?
@ 2021-07-30 11:48 Filipp Gunbin
  2021-07-30 21:53 ` Stefan Monnier
  0 siblings, 1 reply; 3+ messages in thread
From: Filipp Gunbin @ 2021-07-30 11:48 UTC (permalink / raw)
  To: emacs-devel

I'd like to overwrite (change the author email) a commit I made into
externals/javaimp in elpa, and the question is - can I delete the branch
and push it again (push -f is forbidden)?  Wouldn't it break something?

Thanks.



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

* Re: elpa - can we force-push branches?
  2021-07-30 11:48 elpa - can we force-push branches? Filipp Gunbin
@ 2021-07-30 21:53 ` Stefan Monnier
  2021-07-30 23:04   ` Filipp Gunbin
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Monnier @ 2021-07-30 21:53 UTC (permalink / raw)
  To: Filipp Gunbin; +Cc: emacs-devel

Filipp Gunbin [2021-07-30 14:48:19] wrote:
> I'd like to overwrite (change the author email) a commit I made into
> externals/javaimp in elpa, and the question is - can I delete the branch
> and push it again (push -f is forbidden)?

git.sv.gnu.org will let you do that, so technically you can, yes.

> Wouldn't it break something?

Yes, for example elpa.gnu.org will have problems building new tarballs
until I go and fix it by hand [which I currently can't do, but hopefully
this should be fixed in a few days], and similarly my own local checkout
of elpa.git will need some cajoling and presumably other people having
local checkouts of elpa.git will be similarly affected.

So it's strongly recommended not to do it.  But if it's really needed,
e.g. because some commit contains info that really shouldn't be exposed
publicly, it's not the end of the world.


        Stefan




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

* Re: elpa - can we force-push branches?
  2021-07-30 21:53 ` Stefan Monnier
@ 2021-07-30 23:04   ` Filipp Gunbin
  0 siblings, 0 replies; 3+ messages in thread
From: Filipp Gunbin @ 2021-07-30 23:04 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: emacs-devel

On 30/07/2021 17:53 -0400, Stefan Monnier wrote:

> Filipp Gunbin [2021-07-30 14:48:19] wrote:
>> I'd like to overwrite (change the author email) a commit I made into
>> externals/javaimp in elpa, and the question is - can I delete the branch
>> and push it again (push -f is forbidden)?
>
> git.sv.gnu.org will let you do that, so technically you can, yes.
>
>> Wouldn't it break something?
>
> Yes, for example elpa.gnu.org will have problems building new tarballs
> until I go and fix it by hand [which I currently can't do, but hopefully
> this should be fixed in a few days], and similarly my own local checkout
> of elpa.git will need some cajoling and presumably other people having
> local checkouts of elpa.git will be similarly affected.
>
> So it's strongly recommended not to do it.  But if it's really needed,
> e.g. because some commit contains info that really shouldn't be exposed
> publicly, it's not the end of the world.

Thanks, I don't need it _that_ much.

Filipp



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

end of thread, other threads:[~2021-07-30 23:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-30 11:48 elpa - can we force-push branches? Filipp Gunbin
2021-07-30 21:53 ` Stefan Monnier
2021-07-30 23:04   ` Filipp Gunbin

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).