Thread (2 messages) 2 messages, 2 authors, 2016-06-15

calling git rebase with invalid onto-ref exits with wrong error message

From: Manuela Hutter <hidden>
Date: 2016-06-15 22:53:56

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help