From: "Björn Steinbrink" <B.Steinbrink@gmx.de>
To: gitster@pobox.com, Johannes.Schindelin@gmx.de
Cc: git@vger.kernel.org
Subject: rebase --onto might "loose" commits
Date: Tue, 19 Feb 2008 08:23:59 +0100 [thread overview]
Message-ID: <20080219072359.GA752@atjola.homenet> (raw)
[-- 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 --]
next reply other threads:[~2008-02-19 7:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-19 7:23 Björn Steinbrink [this message]
2008-02-19 11:05 ` rebase --onto might "loose" commits Johannes Schindelin
2008-02-19 12:52 ` Björn Steinbrink
2008-02-19 14:43 ` Nicolas Pitre
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080219072359.GA752@atjola.homenet \
--to=b.steinbrink@gmx.de \
--cc=Johannes.Schindelin@gmx.de \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox