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
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
attr | Loading commit data... | |
buf | Loading commit data... | |
config | Loading commit data... | |
core | Loading commit data... | |
index | Loading commit data... | |
network | Loading commit data... | |
object | Loading commit data... | |
odb | Loading commit data... | |
refs | Loading commit data... | |
repo | Loading commit data... | |
status | Loading commit data... | |
README.md | Loading commit data... | |
clar | Loading commit data... | |
clar_helpers.c | Loading commit data... | |
clar_libgit2.h | Loading commit data... |