Re: [PATCH v3 2/2] allow recovery from command name typos

2012-08-05 Thread Junio C Hamano
Tay Ray Chuan writes: > If suggestions are available (based on Levenshtein distance) and if the > terminal isatty(), present a prompt to the user to select one of the > computed suggestions. > > In the case where there is a single suggestion, present the prompt > "[Y/n]", such that "" (ie. the de

[PATCH v3 2/2] allow recovery from command name typos

2012-08-05 Thread Tay Ray Chuan
If suggestions are available (based on Levenshtein distance) and if the terminal isatty(), present a prompt to the user to select one of the computed suggestions. In the case where there is a single suggestion, present the prompt "[Y/n]", such that "" (ie. the default), "y" and "Y" as input leads