summaryrefslogtreecommitdiff
path: root/tests/clone
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2013-12-22 15:39:54 +0000
committerCarlos Martín Nieto <cmn@dwim.me>2014-05-28 15:40:22 +0200
commita0b5f7854c2302105e1029933df5d94a765cb89f (patch)
tree0a437fd5ac347737d82018aa2cdff663242332cb /tests/clone
parent4386d80be108102548d4ff52c875aedfa94e7412 (diff)
downloadlibgit2-a0b5f7854c2302105e1029933df5d94a765cb89f.tar.gz
clone: store the realpath when given a relative one
A call like git_clone("./foo", "./foo1") writes origin's url as './foo', which makes it unusable, as they're relative to different things. Go with git's behaviour and store the realpath as the url.
Diffstat (limited to 'tests/clone')
0 files changed, 0 insertions, 0 deletions