From: Junio C Hamano Date: Thu, 31 Mar 2011 19:26:13 GMT Subject: Re: [PATCH 2/3] sha1_name: Suggest commit:./file for path in subdir Message-ID: <7vsju3jdm2.fsf@alter.siamese.dyndns.org> In-Reply-To: <4ff35194dc52fa969049f555f8d9358cb7ba0c1a.1301562935.git.git@drmicha.warpmail.net> Michael J Gruber writes: > Currently, the "Did you mean..." message suggests "commit:fullpath" > only. Extend this to show the more convenient "commit:./file" form also. If we were to do this, I suspect that with non-empty prefix we should only show "./$file" form for brevity without aka. This is a end-user facing message and not meant to help scripts, no?