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

why the trailing "/" in git-clone and git-fetch ?

From
GNgary ng <garyng2000@yahoo.com>
Date
Feb 8, 2007, 04:44 UTC
Message-ID
<20070208044459.98335.qmail@web30508.mail.mud.yahoo.com>
Hi,

is there any reason why this is added deliberately to the "base" parameter ?

The result is that if I serve a packed git repository through HTTP server, this parameter would be used to construct "path" to packs as in "$(base)/objects/info/packs" resulting in "something//objects/info/packs"

This is fine for most setup but for some server which don't compress the "//" and the backend store is not a file system(say amazon S3), it would be a 404.

regards,
 
____________________________________________________________________________________
8:00? 8:25? 8:40? Find a flick in no time 
with the Yahoo! Search movie showtime shortcut.
http://tools.search.yahoo.com/shortcuts/#news
Message 1 of 1 in “why the trailing "/" in git-clone and git-fetch ?”
  1. gary ngFeb 8, 2007

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.