Skip to contentSkip to conversation

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

DISCUSSION gary ng 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore

gary ng

author
#0 lore raw

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