summaryrefslogtreecommitdiff
path: root/ref-filter.h
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2018-03-24 21:35:22 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-03-25 09:34:34 -0700
commit9f642a71699dd10770dcf0e66d581b53ef244b14 (patch)
treeba00051997219c5355aa216f575947aa41ddd9db /ref-filter.h
parentcompletion: factor out _git_xxx calling code (diff)
downloadtgif-9f642a71699dd10770dcf0e66d581b53ef244b14.tar.xz
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 'ref-filter.h')
0 files changed, 0 insertions, 0 deletions