From: Junio C Hamano Date: Mon, 25 May 2020 00:27:52 GMT Subject: Re: git git completes non-existent command `git gitk` Message-ID: In-Reply-To: <20200524213808.24849-1-matheus.bernardino@usp.br> Matheus Tavares writes: > This should solve the problem, althought it's admittedly not very elegant... > Nevertheless, I'd be happy to send a complete patch if folks are happy with the > workaround. Please don't. > In the meantime, you could use: > > git config completion.commands -gitk > > To locally remove the completion for "gitk". I think an equivalent of this in-core would be the way to go. I wonder if there are any commands other than gitk that cannot be invoked as a subcommand of "git" potty. t/t9902-completion.sh would be a good place to test this.