[PATCH v2] completion: optionally disable checkout DWIM

2017-04-21 Thread Jeff King
When we complete branch names for "git checkout", we also complete remote branch names that could trigger the DWIM behavior. Depending on your workflow and project, this can be either convenient or annoying. For instance, my clone of gitster.git contains 74 local "jk/*" branches, but origin conta

Re: [PATCH v2] completion: optionally disable checkout DWIM

2017-04-24 Thread Brandon Williams
On 04/21, Jeff King wrote: > > When we complete branch names for "git checkout", we also > complete remote branch names that could trigger the DWIM > behavior. Depending on your workflow and project, this can > be either convenient or annoying. > > For instance, my clone of gitster.git contains 7