Re: [PATCH] completion: fix completion after 'git -C path'

2015-10-06 Thread Michael J Gruber
SZEDER Gábor venit, vidit, dixit 05.10.2015 14:02: > The main completion function finds the name of the git command by > iterating through all the words on the command line in search for the > first non-option-looking word. As it is not aware of 'git -C's > mandatory path argument, if the '-C

Re: [PATCH] completion: fix completion after 'git -C path'

2015-10-06 Thread SZEDER Gábor
Quoting Michael J Gruber : SZEDER Gábor venit, vidit, dixit 05.10.2015 14:02: The main completion function finds the name of the git command by iterating through all the words on the command line in search for the first non-option-looking word. As it is not aware

[PATCH] completion: fix completion after 'git -C path'

2015-10-05 Thread SZEDER Gábor
The main completion function finds the name of the git command by iterating through all the words on the command line in search for the first non-option-looking word. As it is not aware of 'git -C's mandatory path argument, if the '-C path' option is present, 'path' will be the first such word