Commit 1016ad4f98f1db7f5912c36b7922375d4c387ca0

Edward Thomson 2021-04-15T01:31:12

path: don't join paths in git_path_find_dir Let `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).