Re: Start deprecating "git-command" in favor of "git command"
From: Junio C Hamano <hidden>
Date: 2016-06-15 22:43:19
Junio C Hamano [off-list ref] writes:
Linus Torvalds [off-list ref] writes:quoted
Anyway, while actually removing the "git-xyzzy" things is not practical right now, we can certainly start slowly to deprecate it internally inside git itself - in the shell scripts we use, and the test vectors.So I am somewhat negative on this, unless there is a way for scripts to say "Even though I say 'git foo', I do mean 'git foo' not whatever the user has aliased".
Having said that, I am not opposed to encourage distros to set gitexecdir to $(prefix)/libexec in their modified Makefile. There is no reason to contaminate a directory on end users' $PATH with hundreds of commands that begin with "git-" prefix. In fact, I used to configure my copy of git with gitexecdir set to outside my $PATH when we first started pushing it to make sure everything works (I do not install git from distro on my machine so I know I have only one instance of bin/git in my path). It used to work, but I am no longer using that layout these days, so it is entirely possible that we might have broken the support along the way. And _that_ is worth fixing.