Re: [PATCH 2/3] sha1_name: Suggest commit:./file for path in subdir
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 31, 2011, 19:26 UTC
- Message-ID
- <7vsju3jdm2.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <4ff35194dc52fa969049f555f8d9358cb7ba0c1a.1301562935.git.git@drmicha.warpmail.net>
Michael J Gruber <git@drmicha.warpmail.net> 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?