From: Junio C Hamano Date: Tue, 03 Jul 2012 17:19:58 GMT Subject: Re: [PATCH v4 00/18] Extending the shelf-life of "git describe" output Message-ID: <7vehoswym9.fsf@alter.siamese.dyndns.org> In-Reply-To: <20120703071940.GB16679@sigill.intra.peff.net> Jeff King 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.