Subject: Re: [PATCH] Keep some git-* programs in $(bindir)

From: "Shawn O. Pearce" <[email-masked]>
Date: Wed, 25 Jun 2008 00:17:47 -0400

Junio C Hamano <[email-masked]> wrote:
>  * しらいしななこ <[email-masked]> writes:
>  > Doesn't "git archive --remote=<repo>" also execute git program on a remote machine?
> 
> diff --git a/Makefile b/Makefile
> index 929136b..742e7d3 100644
> --- 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-archive$X '$(DESTDIR_SQ)$(bindir_SQ)'

I think you mean git-upload-archive, given what daemon.c says.
Or line 34 of builtin-archive.c, which calls git-upload-archive
by way of git_connect().

-- 
Shawn.