diff options
author | Edward Thomson <ethomson@microsoft.com> | 2015-03-06 15:16:40 -0500 |
---|---|---|
committer | Edward Thomson <ethomson@microsoft.com> | 2015-03-06 15:16:40 -0500 |
commit | 6a2edc5a11471f8503888887ca6d4d0f24b1f995 (patch) | |
tree | e4ef1f9310ab82d2feb9a4cc168422fdf7d78bb7 /src | |
parent | 0b3dd8fbed1ed2a15e633a37c158033ae7a639a2 (diff) | |
download | libgit2-6a2edc5a11471f8503888887ca6d4d0f24b1f995.tar.gz |
filter: accept relative paths in apply_to_file
Diffstat (limited to 'src')
-rw-r--r-- | src/filter.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |