git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* calling git rebase with invalid onto-ref exits with wrong error message
@ 2012-05-30  9:02 Manuela Hutter
  2012-05-30  9:27 ` Erik Faye-Lund
  0 siblings, 1 reply; 5+ messages in thread
From: Manuela Hutter @ 2012-05-30  9:02 UTC (permalink / raw)
  To: git

Just noticed a small bug (in git version 1.7.10.msysgit.1):

calling
   git rebase --onto <onto-ref> <base-ref> <branch-ref>

with an unknown <onto-ref> reports:
   fatal: Needed a single revision
   Does not point to a valid commit: <branch-ref>

Expected:
   fatal: Needed a single revision
   Does not point to a valid commit: <onto-ref>

Cheers,
Manuela

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

end of thread, other threads:[~2012-05-30 21:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-30  9:02 calling git rebase with invalid onto-ref exits with wrong error message Manuela Hutter
2012-05-30  9:27 ` Erik Faye-Lund
2012-05-30 15:37   ` Junio C Hamano
2012-05-30 16:39     ` [PATCH] rebase: report invalid commit correctly Erik Faye-Lund
2012-05-30 21:11       ` Junio C Hamano

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).