git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* 2.25.0: git rebase -i fails to --continue with staged data
@ 2020-02-01 18:36 Steffen Nurpmeso
  2020-02-01 18:59 ` Steffen Nurpmeso
  0 siblings, 1 reply; 2+ messages in thread
From: Steffen Nurpmeso @ 2020-02-01 18:36 UTC (permalink / raw)
  To: git; +Cc: Steffen Nurpmeso

Hello.

  #?1|kent:xxx.git$ git alias|grep rema
  alias.rema rebase -i master
...
  #?0|kent:xxx.git$ git status
  interactive rebase in progress; onto 4a17872e
  Last commands done (39 commands done):
     e 6c7e85ef FIXME src/mx/gen-cmd-tab.h: regenerated
     e 0314b1e7 FIXME src/mx/gen-okeys.h: regenerated
    (see more in file .git/rebase-merge/done)
  Next commands to do (41 remaining commands):
     pick 31fb18fb FIXME NEWS: v14.9.17 ("To bind, or not to bind.."), 2020-02-01
     pick 763c0a26 [v15-compat] Make *v15-compat*=yes a default!
    (use "git rebase --edit-todo" to view and edit)
  You are currently editing a commit while rebasing branch 'notpushed' on '4a17872e'.
    (use "git commit --amend" to amend the current commit)
    (use "git rebase --continue" once you are satisfied with your changes)

  Changes to be committed:
    (use "git restore --staged <file>..." to unstage)
          modified:   src/mx/gen-okeys.h

  #?0|kent:xxx.git$ git rebase --continue
  error:
  You have uncommitted changes in your working tree. Please, commit them
  first and then run 'git rebase --continue' again.
  #?1|kent:xxx.git$

So i was "e"diting commit

     e 0314b1e7 FIXME src/mx/gen-okeys.h: regenerated

but cannot simply --continue here --- before 2.25.0 this would now
open the editor and then commit what i have into a.k.a. as the
commit we are editing.  So if i now "commit --amend" i will amend
the commit before the one i want, if i commit anything else
i introduce a new commit.

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)

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

* Re: 2.25.0: git rebase -i fails to --continue with staged data
  2020-02-01 18:36 2.25.0: git rebase -i fails to --continue with staged data Steffen Nurpmeso
@ 2020-02-01 18:59 ` Steffen Nurpmeso
  0 siblings, 0 replies; 2+ messages in thread
From: Steffen Nurpmeso @ 2020-02-01 18:59 UTC (permalink / raw)
  To: git; +Cc: Steffen Nurpmeso

Steffen Nurpmeso wrote in <20200201183619.tUTI7%steffen@sdaoden.eu>:

No.  Sorry for the noise, it was my fault, i reversed the todo
list, and therefore, after having committed something new that
_should_ have been placed in between two "e"dited changesets,
i was in fact after them, and git did correctly point out it had
no idea on what to do with staged data.
Sorry.

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)

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

end of thread, other threads:[~2020-02-01 18:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-01 18:36 2.25.0: git rebase -i fails to --continue with staged data Steffen Nurpmeso
2020-02-01 18:59 ` Steffen Nurpmeso

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

	https://80x24.org/mirrors/git.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).