diff options
Diffstat (limited to 'src/diff.c')
-rw-r--r-- | src/diff.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/diff.c b/src/diff.c index 781f23ec6..bc23e6b0d 100644 --- a/src/diff.c +++ b/src/diff.c @@ -589,7 +589,8 @@ int git_diff__oid_for_entry( entry.path); error = -1; } else if (!(error = git_filter_list_load( - &fl, diff->repo, NULL, entry.path, GIT_FILTER_TO_ODB))) + &fl, diff->repo, NULL, entry.path, + GIT_FILTER_TO_ODB, GIT_FILTER_OPT_ALLOW_UNSAFE))) { int fd = git_futils_open_ro(full_path.ptr); if (fd < 0) |