path.c
47.2 KB
- 
path: don't join paths in git_path_find_dir · 1016ad4fLet `git_path_find_dir` simply take a `git_buf` that contains a directory or a file, instead of trying to both join a path AND then deal with prettifying it or its basename. This allows consumers to join paths themselves (and apply any necessary rules - like fitting within MAX_PATH). Edward Thomson committed
