git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [ANNOUNCE] GIT 0.99.9g

From
Junio C Hamano <junkio@cox.net>
Date
Nov 14, 2005, 07:46 UTC
Message-ID
<7vwtjb3c4i.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<4375DD4A.5050103@op5.se>
Andreas Ericsson <ae@op5.se> writes:
Show 8 quoted lines
>> Also places we execute git-upload-pack and git-receive-pack over
>> an SSH connection need to be updated to execute 'git' with the
>> first parameter 'upload-pack' and 'receive-pack' to make sure it
>> would keep working with older or newer git on the other end.
>
> I've cooked up a patch that takes care of this if;
> 	git daemon
> is executed (rather than git-daemon)...

Actually I was more worried about these git native protocols going over ssh, which is not helped by git-daemon. I think teaching the libdir to git-shell would make sense for "git restricted shell" users, but most users coming from ssh to run git native protocols would need to have some way of running the executable on the other end.

My current thinking about this problem is that the handful programs that need to run "on the other end" should stay in /usr/bin, even after we move most things out of /usr/bin, if only to avoid configuration hassles. They are:

	receive-pack, upload-pack
        ssh-fetch, ssh-pull, ssh-push, ssh-upload

BTW, does anybody actually use these commit walkers over SSH? Cogito switched out of it before 0.16r1 if I understand correctly, and git barebone never used it. It might not be a bad idea to deprecate these altogether, now packed transfer seems to be much nicer.

BTW^2, git-octopus should be deprecated as well; I am a bit reluctant to see git-resolve go but it probably should too.

> All I really need to finalize it is that name, so It's up to you how 
> fast you want it. Perhaps we could take a poll?

Somehow libdir reminds me of where libraries are installed by the Makefile, which usually does not mean executables, and that was the reason I mentioned --exec-path. Although I do not have strong preference myself either way, I do not think the list cares too much either, so in order not to waste time by indecision, let's just say we use this one:

Show 7 quoted lines
> The form will be
> 	exec_path=$(prefix)/lib/git-@@VERSION@@
> 	GIT_EXEC_PATH
> 	--exec-path
>
> for Makefile, environment and 'git', respectively. Substitute the 
> obvious part with whatever you prefer.
> ..., although I'm implementing Linus' idea of prepending the
> GIT_EXEC_PATH to $PATH so the porcelainish scripts in git-core
> shouldn't have to do it.
This sounds good to me; let's go with it.  Thanks.
Previous: Andreas EricssonNext: Andreas Ericsson
Message 9 of 29 in “[ANNOUNCE] GIT 0.99.9g”
  1. Junio C HamanoNov 10, 2005
  2. Jeff GarzikNov 10, 2005
  3. H. Peter AnvinNov 10, 2005
  4. Andreas EricssonNov 10, 2005
  5. H. Peter AnvinNov 11, 2005
  6. Andreas EricssonNov 12, 2005
  7. Junio C HamanoNov 11, 2005
  8. Andreas EricssonNov 12, 2005
  9. Junio C HamanoNov 14, 2005
  10. Andreas EricssonNov 14, 2005
  11. Junio C HamanoNov 14, 2005
  12. Petr BaudisNov 14, 2005
  13. Yaacov Akiba SlamaNov 10, 2005
  14. Junio C HamanoNov 10, 2005
  15. H. Peter AnvinNov 10, 2005
  16. Junio C HamanoNov 10, 2005
  17. Petr BaudisNov 10, 2005
  18. Daniel BarkalowNov 10, 2005
  19. Junio C HamanoNov 10, 2005
  20. Daniel BarkalowNov 10, 2005
  21. Linus TorvaldsNov 10, 2005
  22. Linus TorvaldsNov 10, 2005
  23. H. Peter AnvinNov 11, 2005
  24. Johannes SchindelinNov 11, 2005
  25. H. Peter AnvinNov 11, 2005
  26. Jim RadfordNov 10, 2005
  27. Andreas EricssonNov 10, 2005
  28. Junio C HamanoNov 10, 2005
  29. Jim RadfordNov 11, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.