Matheus Tavares <matheus.bernardino@xxxxxx> 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.