diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2013-12-22 15:39:54 +0000 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2014-05-28 15:40:22 +0200 |
commit | a0b5f7854c2302105e1029933df5d94a765cb89f (patch) | |
tree | 0a437fd5ac347737d82018aa2cdff663242332cb /tests/clone | |
parent | 4386d80be108102548d4ff52c875aedfa94e7412 (diff) | |
download | libgit2-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