Re: More use of levenshtein?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Jun 2, 2012 at 8:26 PM, Nguyen Thai Ngoc Duy <pclouds@xxxxxxxxx> wrote:
> On Sat, Jun 2, 2012 at 2:04 AM, Junio C Hamano <gitster@xxxxxxxxx> wrote:
>> Perhaps we could go one step further when we issue this error message?
>>
>>  $ git checkout -b jc/ls-files-i-dir maitn-1.7.8
>>  fatal: git checkout: updating paths is incompatible with switching branches.
>>  Did you intend to checkout 'maitn-1.7.8' which can not be resolved as commit?
>
> Yes, please. Also to correct misspelled option names.
>
> In case there are more than one candidate, we should print extra info
> (for commands or options, it's one line description; for refs,
> probably commit subject line)

This and a functional implementation of "help.autocorrect = prompt."
I think we now have the bits and pieces to do it right.

--
David Barr
--
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


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]