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

2018-05-13 Thread Duy Nguyen
On Fri, May 11, 2018 at 5:05 PM, SZEDER Gábor wrote: > On Thu, May 10, 2018 at 10:46 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 v7 12/13] completion: let git provide the completable command list

2018-05-11 Thread SZEDER Gábor
On Thu, May 10, 2018 at 10:46 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 v7 12/13] completion: let git provide the completable command list

2018-05-10 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