git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Rebasing with submodule change causes red herring with --continue
@ 2015-04-10 16:30 Robert Dailey
  2015-04-10 16:44 ` John Keeping
  0 siblings, 1 reply; 8+ messages in thread
From: Robert Dailey @ 2015-04-10 16:30 UTC (permalink / raw)
  To: Git

I have a branch that contains a commit with a single change: A
submodule pointing to a new SHA1.

When I rebase this branch onto the tip of its parent branch AND that
parent branch had modified that same submodule, the rebase stops at
the commit on my branch that modified the submodule and asks me if I
want to keep REMOTE or LOCAL. I say LOCAL and notice immediately that
the submodule is not staged (normally it would be).

I do:

$ git add my-submodule

Then I do:

$ git rebase --continue

At this point, it fails asking me if I forgot to stage changes and
recommends doing --skip. This is normally what you would see if the
staging area was completely empty, however it isn't, since I see the
submodule is in there.

Is this a bug or am I missing a fundamental here? I'm using Git 2.1.0
on Windows through MSYS. I'll provide more concrete examples if my
summary of the issue doesn't "ring any bells".

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

end of thread, other threads:[~2015-04-27 21:09 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-10 16:30 Rebasing with submodule change causes red herring with --continue Robert Dailey
2015-04-10 16:44 ` John Keeping
2015-04-23 18:17   ` Robert Dailey
2015-04-23 19:07     ` Robert Dailey
2015-04-23 19:43       ` Jens Lehmann
2015-04-23 20:35         ` John Keeping
2015-04-23 22:43           ` John Keeping
2015-04-27 21:09             ` Robert Dailey

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 NNTP newsgroup(s).