diff options
author | The rugged tests are fragile <tanoku@gmail.com> | 2014-09-17 14:52:31 +0200 |
---|---|---|
committer | The rugged tests are fragile <tanoku@gmail.com> | 2014-09-17 15:00:12 +0200 |
commit | bbb988a5190be2a8763c60cb37c52466a39f6441 (patch) | |
tree | 691ad5fcfc3097bf2d593d280fa64f808b27dbf5 /src/path.h | |
parent | 1312f87b6838649cca525935656c84c7bd07a9a1 (diff) | |
download | libgit2-bbb988a5190be2a8763c60cb37c52466a39f6441.tar.gz |
path: Fix `git_path_walk_up` to work with non-rooted paths
Diffstat (limited to 'src/path.h')
-rw-r--r-- | src/path.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/path.h b/src/path.h index d0a9de707..11bb6d173 100644 --- a/src/path.h +++ b/src/path.h @@ -323,7 +323,7 @@ extern int git_path_cmp( extern int git_path_walk_up( git_buf *pathbuf, const char *ceiling, - int (*callback)(void *payload, git_buf *path), + int (*callback)(void *payload, const char *path), void *payload); /** |