diff options
| author | Edward Thomson <ethomson@edwardthomson.com> | 2015-07-24 15:05:16 -0500 |
|---|---|---|
| committer | Edward Thomson <ethomson@edwardthomson.com> | 2015-07-24 15:05:16 -0500 |
| commit | 2dfd5eae33e079bc92a15ccfd561901ea7b69e45 (patch) | |
| tree | 9ffd9710483898fa66ac9da05159b1264b147032 /src/path.h | |
| parent | 759b2230a522df47640808cb0b21346cc824f6ff (diff) | |
| parent | a58854a0311316a66fda363e83665ab942d81ec6 (diff) | |
| download | libgit2-2dfd5eae33e079bc92a15ccfd561901ea7b69e45.tar.gz | |
Merge pull request #3307 from libgit2/cmn/submodule-backslash
Normalize submodule urls before looking at them
Diffstat (limited to 'src/path.h')
| -rw-r--r-- | src/path.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/path.h b/src/path.h index 5927a5381..adb76865e 100644 --- a/src/path.h +++ b/src/path.h @@ -591,4 +591,9 @@ extern bool git_path_isvalid( const char *path, unsigned int flags); +/** + * Convert any backslashes into slashes + */ +int git_path_normalize_slashes(git_buf *out, const char *path); + #endif |
