]> git.ipfire.org Git - thirdparty/git.git/commit
completion: complete "git -<TAB>" with short options
authorWiktor Mis <mwiktor023@gmail.com>
Wed, 26 Nov 2025 16:26:31 +0000 (16:26 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 26 Nov 2025 17:55:55 +0000 (09:55 -0800)
commit87466656fa834a39e3c4f7d285c37d3b1cf0dbcd
treefe0e0c3372ca1b8d5f769d5a7e118ab13803579c
parent9a2fb147f2c61d0cab52c883e7e26f5b7948e3ed
completion: complete "git -<TAB>" with short options

"git" itself has completion for its long options and subcommands,
but not for its short options.  Add support for them.

Signed-off-by: Wiktor Mis <mwiktor023@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash