summaryrefslogtreecommitdiff
path: root/git-fetch.sh
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-10-10 23:22:02 -0700
committerJunio C Hamano <junkio@cox.net>2005-10-11 22:05:09 -0700
commit94fa447ace56bc6514bdd66cafe8f56f0e3ce936 (patch)
tree48fa9a3fb29727a6cc7c00f63768c6828cab4622 /git-fetch.sh
parentd06b689a933f6d2130f8afdf1ac0ddb83eeb59ab (diff)
downloadgit-94fa447ace56bc6514bdd66cafe8f56f0e3ce936.tar.gz
Quote reference names while fetching with curl.
curl_escape ought to do this, but we should not let it quote slashes (nobody said refs/tags cannot have subdirectories), so we roll our own safer version. With this, the last part of git-clone from Martin's moodle repository that used to fail now works, which reads: $ git-http-fetch -v -a -w 'tags/MOODLE_15_MERGED **INVALID**' \ 'tags/MOODLE_15_MERGED **INVALID**' \ http://locke.catalyst.net.nz/git/moodle.git/ Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-fetch.sh')
0 files changed, 0 insertions, 0 deletions