summaryrefslogtreecommitdiff
path: root/src/path.h
diff options
context:
space:
mode:
authorThe rugged tests are fragile <tanoku@gmail.com>2014-09-17 14:52:31 +0200
committerThe rugged tests are fragile <tanoku@gmail.com>2014-09-17 15:00:12 +0200
commitbbb988a5190be2a8763c60cb37c52466a39f6441 (patch)
tree691ad5fcfc3097bf2d593d280fa64f808b27dbf5 /src/path.h
parent1312f87b6838649cca525935656c84c7bd07a9a1 (diff)
downloadlibgit2-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.h2
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);
/**