git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
MHManuela Hutter <manuelah@opera.com>
Date
May 30, 2012, 09:02 UTC
Message-ID
<op.we351rjtt21y7h@id-c1003.oslo.osa>
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

Next: Erik Faye-Lund
Message 1 of 5 in “calling git rebase with invalid onto-ref exits with wrong error message”
  1. Manuela HutterMay 30, 2012
  2. Erik Faye-LundMay 30, 2012
  3. Junio C HamanoMay 30, 2012
  4. rebase: report invalid commit correctlyErik Faye-Lund, May 30, 2012
  5. Junio C HamanoMay 30, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.