threads / discuss / 6734

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

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

## tl;dr

One message between Feb 8, 2007 and Feb 8, 2007.

replies: 0people: 1as markdown or json

gary ng· Feb 8, 2007, 04:44 UTC · lore
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

← back to recent threads