From: Todd Zullinger Date: Wed, 20 Mar 2019 18:03:29 +0000 (-0400) Subject: completion: use __git when calling --list-cmds X-Git-Tag: v2.22.0-rc0~100^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/2eb6f09f7d9c02266f7e6ac8b1591abc8b10278d?hp=2eb6f09f7d9c02266f7e6ac8b1591abc8b10278d completion: use __git when calling --list-cmds As we made --list-cmds read the local configuration file in an earlier step, the completion.commands variable respects repo-level configuration. Use __git which ensures that the proper repo config is consulted if the command line contains 'git -C /some/other/repo'. Suggested-by: SZEDER Gábor Signed-off-by: Todd Zullinger Signed-off-by: Junio C Hamano ---