Commit 6a2edc5a by Edward Thomson

filter: accept relative paths in apply_to_file

parent 0b3dd8fb
......@@ -893,7 +893,7 @@ int git_filter_list_stream_file(
(error = git_path_join_unrooted(&abspath, path, base, NULL)) < 0)
goto done;
if ((fd = git_futils_open_ro(path)) < 0) {
if ((fd = git_futils_open_ro(abspath.ptr)) < 0) {
error = fd;
goto done;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment