Fix use of hardlinks in "make install"
authorAlex Riesen <redacted>
Thu, 28 Aug 2008 13:57:32 +0000 (15:57 +0200)
committerJunio C Hamano <redacted>
Sat, 30 Aug 2008 05:37:04 +0000 (22:37 -0700)
commit4e3ae59ef63475411f4c073ba3a1478b1ef73b9a
tree261cb427b65f224847ab90654ca8082942b9d863
parent3e073dc561185d5ad2325cb012943020e068801e
Fix use of hardlinks in "make install"

The code failed to filter-out git-add properly on platforms were $X is
not empty (ATM there is only one such a platform).

Than it tried to create a hardlink to the file ($execdir/git-add) it just
removed (because git-add is first in the BUILT_INS), so ln failed (but
because stderr was redirected into /dev/null the error was never seen), and
the whole install ended up using "ln -s" instead.

Signed-off-by: Alex Riesen <redacted>
Signed-off-by: Junio C Hamano <redacted>
Makefile
git clone https://git.99rst.org/PROJECT