diff options
| author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2018-03-24 21:35:22 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2018-03-25 09:34:34 -0700 |
| commit | 9f642a71699dd10770dcf0e66d581b53ef244b14 (patch) | |
| tree | ba00051997219c5355aa216f575947aa41ddd9db /git-gui/lib/browser.tcl | |
| parent | 48e1c69ade27395dfe7eb2be8aadf5fc50576a21 (diff) | |
completion: add --option completion for most builtin commands
Many builtin commands use parseopt which can expose the option 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 <tab>"
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 <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-gui/lib/browser.tcl')
0 files changed, 0 insertions, 0 deletions
