From 6a2edc5a11471f8503888887ca6d4d0f24b1f995 Mon Sep 17 00:00:00 2001 From: Edward Thomson Date: Fri, 6 Mar 2015 15:16:40 -0500 Subject: filter: accept relative paths in apply_to_file --- src/filter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/filter.c') diff --git a/src/filter.c b/src/filter.c index 628a7ea8a..6d0d48015 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; } -- cgit v1.2.1