Re: [PATCH v2] Completion must sort before using uniq

2012-11-23 Thread Felipe Contreras
Hi, Mostly cosmetic suggestions, but it looks OK to me. On Fri, Nov 23, 2012 at 12:17 PM, Marc Khouzam wrote: > The user can be presented with invalid completion results > when trying to complete a 'git checkout' command. This can happen > when using a branch name prefix that matches multiple r

[PATCH v2] Completion must sort before using uniq

2012-11-23 Thread Marc Khouzam
The user can be presented with invalid completion results when trying to complete a 'git checkout' command. This can happen when using a branch name prefix that matches multiple remote branches. For example if available branches are: master remotes/GitHub/maint remotes/GitHub/master remote