Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH v4 00/18] Extending the shelf-life of "git describe" output

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:54:12

Jeff King [off-list ref] 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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help