]> git.ipfire.org Git - thirdparty/git.git/commit - contrib/completion/git-completion.bash
completion: improve docs for using __git_complete
authorRoland Hieber <rhi@pengutronix.de>
Thu, 25 Apr 2024 10:18:43 +0000 (12:18 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 25 Apr 2024 16:23:26 +0000 (09:23 -0700)
commitd13a2950747214567f1685802da523d009c543d9
treeb505f0fea63db8c10aef1980b4b3fb506cf6968a
parentcb85fdf4a4445fd201133dfc8d1e43c7e2e68bf5
completion: improve docs for using __git_complete

It took me more than a few tries and a good lecture of __git_main to
understand that the two paragraphs really only refer to adding
completion functions for executables that are not called through git's
subcommand magic. Improve the docs and be more specific.

Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash