Re: [PATCH 12/14] completion: let git provide the completable command list

2018-05-20 Thread Duy Nguyen
On Sun, May 20, 2018 at 3:20 PM, SZEDER Gábor wrote: > On Sat, May 19, 2018 at 6:27 AM, Nguyễn Thái Ngọc Duy > wrote: >> Instead of maintaining a separate list of command classification, >> which often could go out of date, let's centralize the

Re: [PATCH 12/14] completion: let git provide the completable command list

2018-05-20 Thread SZEDER Gábor
On Sat, May 19, 2018 at 6:27 AM, Nguyễn Thái Ngọc Duy wrote: > Instead of maintaining a separate list of command classification, > which often could go out of date, let's centralize the information > back in git. > > While the function in git-completion.bash implies "list

[PATCH 12/14] completion: let git provide the completable command list

2018-05-18 Thread Nguyễn Thái Ngọc Duy
Instead of maintaining a separate list of command classification, which often could go out of date, let's centralize the information back in git. While the function in git-completion.bash implies "list porcelain commands", that's not exactly what it does. It gets all commands (aka