summaryrefslogtreecommitdiff
path: root/src/diff_file.c
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@microsoft.com>2015-02-19 11:09:54 -0500
committerEdward Thomson <ethomson@microsoft.com>2015-02-19 11:09:54 -0500
commit795eaccd667ce24c290b6211ca0c6a84f84e7c2b (patch)
treebdef91425a91ee616f3358630ee9f2a25ede27fd /src/diff_file.c
parentd4cf167515d3ed7b27c1358fc2e19b9caf66e8ad (diff)
downloadlibgit2-795eaccd667ce24c290b6211ca0c6a84f84e7c2b.tar.gz
git_filter_opt_t -> git_filter_flag_t
For consistency with the rest of the library, where an opt is an options *structure*.
Diffstat (limited to 'src/diff_file.c')
-rw-r--r--src/diff_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/diff_file.c b/src/diff_file.c
index 96be0942b..f7061ae83 100644
--- a/src/diff_file.c
+++ b/src/diff_file.c
@@ -302,7 +302,7 @@ static int diff_file_content_load_workdir_file(
if ((error = git_filter_list_load(
&fl, fc->repo, NULL, fc->file->path,
- GIT_FILTER_TO_ODB, GIT_FILTER_OPT_ALLOW_UNSAFE)) < 0)
+ GIT_FILTER_TO_ODB, GIT_FILTER_ALLOW_UNSAFE)) < 0)
goto cleanup;
/* if there are no filters, try to mmap the file */