summaryrefslogtreecommitdiff
path: root/tests/diff/diffiter.c
diff options
context:
space:
mode:
authornulltoken <emeric.fermas@gmail.com>2012-02-03 12:45:43 +0100
committernulltoken <emeric.fermas@gmail.com>2012-02-03 12:46:50 +0100
commit99abb79d53781dda9bbdc7b896eaa383d8789cb3 (patch)
treef9ba87532e6c97eb21b5bf264d2e222238a69d9c /tests/diff/diffiter.c
parent0a4aebb097bbe7a940c0f73174b756027105d92f (diff)
downloadlibgit2-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