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

2012-11-24 Thread Junio C Hamano
Marc Khouzam writes: > 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/

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

2012-11-23 Thread Felipe Contreras
On Fri, Nov 23, 2012 at 3:02 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 remote branches. > > For example, if available branches are:

[PATCH v3] 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 remo