Jeff King <peff@xxxxxxxx> writes: > $ git show 0003^{commit} > fatal: ambiguous argument '0003^{commit}': unknown revision or path not in the working tree. > Use '--' to separate paths from revisions > > I think the code is right not to return an object at all (since it is > ambiguous), but it might be helpful to say "your sha1 was ambiguous, but > none of the possibilities matched our criteria" or similar. Otherwise > the error message looks exactly like the "there is no such object at > all" case. True. Thanks for reading. -- 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