From: Eric Sunshine Date: Sun, 25 Mar 2018 00:59:30 GMT Subject: Re: [PATCH v2 5/8] completion: add --option completion for most builtin commands Message-ID: In-Reply-To: <20180324203525.24159-6-pclouds@gmail.com> On Sat, Mar 24, 2018 at 4:35 PM, Nguyễn Thái Ngọc Duy wrote: > Many builtin commands use parseopt which supports expose the option s/expose/exposing/ maybe? > list via --git-completion-helper but do not have explicit support in > git-completion.bash. This patch detects those commands and uses > __gitcomp_builtin for option completion. > > This does not pollute the command name completion though. "git " > will show you the same set as before. This only kicks in when you type > the correct command name. > > Signed-off-by: Nguyễn Thái Ngọc Duy