make install: warn about a "git" in GIT_EXEC_PATH
commitd0f28b64b065604361518a5ed51685fc11db7c00
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Thu, 12 Feb 2009 01:30:17 +0000 (12 02:30 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Sun, 7 Feb 2010 19:10:34 +0000 (7 20:10 +0100)
tree61714aaae02b425dcde1b4358b0f5b24eed7059e
parent586f59d95e691b2410968d0440b7bb6f5460e849
make install: warn about a "git" in GIT_EXEC_PATH

We do not install "git" in the exec path.  However, if there is one,
scripts calling builtins with the dash-less form use the wrong command.

For example, if that binary contains an obsolete form of pack-objects
and you call "git gc" -- which uses the dash-less form as recommended --
it may error out because the old pack-objects does not understand new
options.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
check_bindir