summaryrefslogtreecommitdiff
path: root/t/t5701-clone-local.sh
diff options
context:
space:
mode:
authorLibravatar Clemens Buchacher <drizzd@aon.at>2008-09-03 20:55:55 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-09-03 12:32:41 -0700
commit44a68fd526a70f0aaf213143e22f1257f296e724 (patch)
treeca7712d5b61eb0de74fdd626bfc168a5fce9f9be /t/t5701-clone-local.sh
parentMakefile: add merge_recursive.h to LIB_H (diff)
downloadtgif-44a68fd526a70f0aaf213143e22f1257f296e724.tar.xz
clone: fix creation of explicitly named target directory
'git clone <repo> path/' (note the trailing slash) fails, because the entire path is interpreted as leading directories. So when mkdir tries to create the actual path, it already exists. This makes sure trailing slashes are removed. Signed-off-by: Clemens Buchacher <drizzd@aon.at> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5701-clone-local.sh')
0 files changed, 0 insertions, 0 deletions