diff options
author | nulltoken <emeric.fermas@gmail.com> | 2011-12-28 11:36:18 +0100 |
---|---|---|
committer | nulltoken <emeric.fermas@gmail.com> | 2011-12-28 20:40:08 +0100 |
commit | e2580375dc76f46dce9963225449fcc872e86b0b (patch) | |
tree | d09787c425186553b20c11650cd1eb1c7d43963a /include/git2/commit.h | |
parent | 2017a15d6ca7f756dcf036499a02e15393609c83 (diff) | |
download | libgit2-e2580375dc76f46dce9963225449fcc872e86b0b.tar.gz |
transport: make local transport accept a file Uri containing percent-encoded characters
This makes libgit2 compliant with the following scenario
$ git ls-remote file:///d:/temp/dwm%20tinou
732d790b702db4b8985f5104fc44642654f6a6b6 HEAD
732d790b702db4b8985f5104fc44642654f6a6b6 refs/heads/master
732d790b702db4b8985f5104fc44642654f6a6b6 refs/remotes/origin/HEAD
732d790b702db4b8985f5104fc44642654f6a6b6 refs/remotes/origin/master
$ mv "/d/temp/dwm tinou" /d/temp/dwm+tinou
$ git ls-remote file:///d:/temp/dwm%20tinou
fatal: 'd:/temp/dwm tinou' does not appear to be a git repository
fatal: The remote end hung up unexpectedly
$ git ls-remote file:///d:/temp/dwm+tinou
732d790b702db4b8985f5104fc44642654f6a6b6 HEAD
732d790b702db4b8985f5104fc44642654f6a6b6 refs/heads/master
732d790b702db4b8985f5104fc44642654f6a6b6 refs/remotes/origin/HEAD
732d790b702db4b8985f5104fc44642654f6a6b6 refs/remotes/origin/master
Diffstat (limited to 'include/git2/commit.h')
0 files changed, 0 insertions, 0 deletions