Code

Keep some git-* programs in $(bindir)
authorJunio C Hamano <gitster@pobox.com>
Wed, 25 Jun 2008 02:58:11 +0000 (19:58 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 25 Jun 2008 04:26:59 +0000 (21:26 -0700)
Otherwise remote executions directly over ssh won't find them as they used
to.  --upload-pack and --receive-pack options _could_ be used on the
client side, but things should keep working out-of-box for older clients.

Later versions of clients (fetch-pack and send-pack) probably could start
asking for these programs with dashless form, but that is a different
topic.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile

index 929136ba397af76f6949ce40184482c6066c0082..8534af2279a3caddeac875bd142ab94a9fc36eed 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1268,7 +1268,7 @@ install: all
        $(INSTALL) -d -m 755 '$(DESTDIR_SQ)$(bindir_SQ)'
        $(INSTALL) -d -m 755 '$(DESTDIR_SQ)$(gitexecdir_SQ)'
        $(INSTALL) $(ALL_PROGRAMS) '$(DESTDIR_SQ)$(gitexecdir_SQ)'
-       $(INSTALL) git$X '$(DESTDIR_SQ)$(bindir_SQ)'
+       $(INSTALL) git$X git-upload-pack$X git-receive-pack$X git-upload-archive$X '$(DESTDIR_SQ)$(bindir_SQ)'
        $(MAKE) -C templates DESTDIR='$(DESTDIR_SQ)' install
        $(MAKE) -C perl prefix='$(prefix_SQ)' DESTDIR='$(DESTDIR_SQ)' install
 ifndef NO_TCLTK