diff options
Diffstat (limited to 'src/repository.c')
-rw-r--r-- | src/repository.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/repository.c b/src/repository.c index ac7af7692..df5f322ce 100644 --- a/src/repository.c +++ b/src/repository.c @@ -1789,7 +1789,8 @@ int git_repository_hashfile( /* passing empty string for "as_path" indicated --no-filters */ if (strlen(as_path) > 0) { error = git_filter_list_load( - &fl, repo, NULL, as_path, GIT_FILTER_TO_ODB); + &fl, repo, NULL, as_path, + GIT_FILTER_TO_ODB, GIT_FILTER_OPT_DEFAULT); if (error < 0) return error; } else { |