Re: More use of levenshtein?
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- Jun 2, 2012, 10:26 UTC
- Message-ID
- <CACsJy8DuDzxrcb8kbWhH9N=1APQeEOUZzUvSaKCJ7LJ9rc9tKg@mail.gmail.com>
- In-Reply-To
- <7vzk8m26sf.fsf@alter.siamese.dyndns.org>
On Sat, Jun 2, 2012 at 2:04 AM, Junio C Hamano <gitster@pobox.com> wrote:
Show 5 quoted lines
> 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)
-- Duy