author | Gerrit Pape <pape@smarden.org> | |
Wed, 28 Mar 2007 09:46:15 +0000 (09:46 +0000) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 28 Mar 2007 11:44:16 +0000 (04:44 -0700) | ||
commit | 2afea3bcd2a2b3327d7e8bdabc9aebd6bef24c6e | |
tree | bcb30c2e8deda164d9caa391eb3b87e7dda603f5 | tree | snapshot |
parent | fa21b6023288d5ee0afa79021493a199b1c9bac5 | commit | diff |
http-fetch: don't use double-slash as directory separator in URLs
Please see http://bugs.debian.org/409887
http-fetch expected the URL given at the command line to have a trailing
slash anyway, and then added '/objects...' when requesting objects files
from the http server.
Now it doesn't require the trailing slash in <url> anymore, and strips
trailing slashes if given nonetheless.
Signed-off-by: Gerrit Pape <pape@smarden.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Please see http://bugs.debian.org/409887
http-fetch expected the URL given at the command line to have a trailing
slash anyway, and then added '/objects...' when requesting objects files
from the http server.
Now it doesn't require the trailing slash in <url> anymore, and strips
trailing slashes if given nonetheless.
Signed-off-by: Gerrit Pape <pape@smarden.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-clone.sh | diff | blob | history | |
git-fetch.sh | diff | blob | history | |
http-fetch.c | diff | blob | history |