We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 91156a0 commit 4470e48Copy full SHA for 4470e48
src/filter.c
@@ -972,8 +972,10 @@ int git_filter_list_stream_file(
972
973
if ((error = stream_list_init(
974
&stream_start, &filter_streams, filters, target)) < 0 ||
975
- (error = git_path_join_unrooted(&abspath, path, base, NULL)) < 0)
+ (error = git_path_join_unrooted(&abspath, path, base, NULL)) < 0 ||
976
+ (error = git_path_validate_workdir_buf(repo, &abspath)) < 0)
977
goto done;
978
+
979
initialized = 1;
980
981
if ((fd = git_futils_open_ro(abspath.ptr)) < 0) {
0 commit comments