diff options
author | nulltoken <emeric.fermas@gmail.com> | 2012-02-03 12:45:43 +0100 |
---|---|---|
committer | nulltoken <emeric.fermas@gmail.com> | 2012-02-03 12:46:50 +0100 |
commit | 99abb79d53781dda9bbdc7b896eaa383d8789cb3 (patch) | |
tree | f9ba87532e6c97eb21b5bf264d2e222238a69d9c /tests/diff/diffiter.c | |
parent | 0a4aebb097bbe7a940c0f73174b756027105d92f (diff) | |
download | libgit2-99abb79d53781dda9bbdc7b896eaa383d8789cb3.tar.gz |
repository: ensure that the path to the .git directory ends with a forward slash when opening a repository through a working directory path
This fixes an issue which was detected while using one of the libgit2 bindings [0]. The lack of the trailing forward slash led the name of references returned by git_reference_listall() to be prefixed with a forward slash.
[0]: https://github.com/libgit2/libgit2sharp/pull/108
Diffstat (limited to 'tests/diff/diffiter.c')
0 files changed, 0 insertions, 0 deletions