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, 21:15 UTC
Message-ID
<7vwtjbvslo.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<4378578E.5090409@op5.se>
Andreas Ericsson <ae@op5.se> writes:
Show 12 quoted lines
> Junio C Hamano wrote:
>> 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
>
> I liked your suggestion of deprecating the /usr/bin use a month or two 
> before it's effected better. We could then provide symlinks for the 
> necessary programs that point to their real locations in GIT_EXEC_PATH 
> and (someday) drop those links when they're no longer needed.

Yes, but the problem is when that "someday" comes. Unlike a single machine installation where we can tell "git" to look into somewhere different at the same time we move the subcommands out of /usr/bin, "the other end" can lag behind and sometimes not under control of the end user.

I think it's simpler to manage and can be made configuration free if we keep receive-pack and upload-pack in /usr/bin and always call these programs in dash-form (i.e. not "git upload-pack") from the other end. .bash_profile is not read for incoming ssh connections to execute a single command, but many people set their PATH in there, without setting PATH in .bashrc.

I personally think that having to set PATH in .bashrc it is actually a bug in what bash does, but that is OT.

Previous: Andreas EricssonNext: Petr Baudis
Message 11 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.