summaryrefslogtreecommitdiff
path: root/t/t4051-diff-function-context.sh
diff options
context:
space:
mode:
authorAntoine Pelisse <apelisse@gmail.com>2013-08-09 19:13:07 +0200
committerJunio C Hamano <gitster@pobox.com>2013-08-09 15:33:02 -0700
commit33f66b25e1880db9d5b2f665b42d5e867d118b38 (patch)
tree83fa251ed09803968fe8418b5f8ed7ce7bf6fb67 /t/t4051-diff-function-context.sh
parentb48493e937bb46d352336e2918e37120fe1d352d (diff)
downloadgit-33f66b25e1880db9d5b2f665b42d5e867d118b38.tar.gz
remote-hg: fix path when cloning with tilde expansionap/remote-hg-tilde-is-home-directory
The current code fixes the path to make it absolute when cloning, but doesn't consider tilde expansion, so that scenario fails throwing an exception because /home/myuser/~/my/repository doesn't exists: $ git clone hg::~/my/repository && cd repository && git fetch Expand the tilde when checking if the path is absolute, so that we don't fix a path that doesn't need to be. Signed-off-by: Antoine Pelisse <apelisse@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4051-diff-function-context.sh')
0 files changed, 0 insertions, 0 deletions