diff options
| author | Edward Thomson <ethomson@microsoft.com> | 2015-09-17 12:48:37 -0400 |
|---|---|---|
| committer | Edward Thomson <ethomson@microsoft.com> | 2015-09-17 12:48:37 -0400 |
| commit | 9ce2e7b317277b1a27bbcef77fab4d053019b8d8 (patch) | |
| tree | 2ddb3b7fdad0097d7345221fc9afb2c53807e132 /src/path.h | |
| parent | e164ddb11df0d7cd8178c759e323d18a7a7ea526 (diff) | |
| download | libgit2-9ce2e7b317277b1a27bbcef77fab4d053019b8d8.tar.gz | |
`mkdir`: cope with root path on win32
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 c76e90343..7e156fce8 100644 --- a/src/path.h +++ b/src/path.h @@ -72,7 +72,7 @@ extern const char *git_path_topdir(const char *path); * This will return a number >= 0 which is the offset to the start of the * path, if the path is rooted (i.e. "/rooted/path" returns 0 and * "c:/windows/rooted/path" returns 2). If the path is not rooted, this - * returns < 0. + * returns -1. */ extern int git_path_root(const char *path); |
