Git development
 help / color / mirror / Atom feed
* rebase --onto might "loose" commits
@ 2008-02-19  7:23 Björn Steinbrink
  2008-02-19 11:05 ` Johannes Schindelin
  0 siblings, 1 reply; 4+ messages in thread
From: Björn Steinbrink @ 2008-02-19  7:23 UTC (permalink / raw)
  To: gitster, Johannes.Schindelin; +Cc: git

[-- Attachment #1: Type: text/plain, Size: 428 bytes --]

Hi,

when there's nothing to rebase (ie. upstream..branch is empty), rebase
fails to find any commits to rebase and correctly says "Nothing to do",
but when --onto is given, we already did a "reset --hard" to newbase, so
it already _did_ something.

As rebase also shows a "fatal: Not a range", during the operation, I
assume that this is an actual bug and not just a plain user error.

A test script is attached.

Thank,
Björn

[-- Attachment #2: test.sh --]
[-- Type: application/x-sh, Size: 616 bytes --]

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

end of thread, other threads:[~2008-02-19 14:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-19  7:23 rebase --onto might "loose" commits Björn Steinbrink
2008-02-19 11:05 ` Johannes Schindelin
2008-02-19 12:52   ` Björn Steinbrink
2008-02-19 14:43     ` Nicolas Pitre

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox