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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]