summaryrefslogtreecommitdiff
path: root/thread-utils.h
diff options
context:
space:
mode:
authorRamsay Jones <ramsay@ramsay1.demon.co.uk>2011-11-19 19:38:54 +0000
committerJunio C Hamano <gitster@pobox.com>2011-11-20 19:24:24 -0800
commit3a81f33c526a09b3ae22b01d56c7ab921d19c382 (patch)
treea190df3a94fd7599db3ab965e24bff1836242558 /thread-utils.h
parentf56ef114eeefee755f422e6cbef2d83974cb90f1 (diff)
downloadgit-3a81f33c526a09b3ae22b01d56c7ab921d19c382.tar.gz
t5501-*.sh: Fix url passed to clone in setup test
In particular, the url passed to git-clone has an extra '/' given after the 'file://' schema prefix, thus: git clone --reference=original "file:///$(pwd)/original one Once the prefix is removed, the remainder of the url looks something like "//home/ramsay/git/t/...", which is then interpreted as an network path. This then results in a "Permission denied" error, like so: ramsay $ ls //home ls: cannot access //home: No such host or network path ramsay $ ls //home/ramsay ls: cannot access //home/ramsay: Permission denied ramsay $ In order to fix the problem, we simply remove the extraneous '/' character from the url. Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'thread-utils.h')
0 files changed, 0 insertions, 0 deletions