filter: accept relative paths in apply_to_file
diff --git a/src/filter.c b/src/filter.c
index 628a7ea..6d0d480 100644
--- a/src/filter.c
+++ b/src/filter.c
@@ -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;
}