Re: [PATCH] completion: fix completion of certain aliases

2013-12-13 Thread SZEDER Gábor
Hi, On Sat, Dec 07, 2013 at 07:11:13AM -0600, Felipe Contreras wrote: Some commands need the first word to determine the actual action that is being executed, however, the command is wrong when we use an alias, This first sentence was hard to understand for me because of the wrong terminology

[PATCH] completion: fix completion of certain aliases

2013-12-07 Thread Felipe Contreras
Some commands need the first word to determine the actual action that is being executed, however, the command is wrong when we use an alias, for example 'alias.p=push', if we try to complete 'git p origin ', the result would be wrong because __git_complete_remote_or_refspec() doesn't know where it