Thread (15 messages) flat view 15 messages, 4 authors, 2016-06-15

Re: [PATCH RFC] gitk: Allow commit editing

From: Jeff King <hidden>
Date: 2016-06-15 22:51:54

On Fri, Aug 19, 2011 at 02:23:39PM +0200, Michal Sojka wrote:
quoted
Invoking rebase behind the scenes makes me very nervous. In particular:

  1. There is nothing to indicate to the user that they are rewriting a
     string of commits, which is going to wreak havoc if any of the
     commits have been published elsewhere (either pushed somewhere, or
     even present in another local branch). I.e., rebasing generally
     needs to be a conscious decision of the user.
I added a warning if the edited commit is contained in a remote branch.
Would you consider this sufficient?
It's likely problematic if the commit appears in the history of any
other ref, unless they are also planning on rebasing that ref, too
(which you can't really know, but it is probably better to warn).

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help