summaryrefslogtreecommitdiff
path: root/src/diff.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.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.c')
-rw-r--r--src/diff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/diff.c b/src/diff.c
index 07eae03e7..815351b21 100644
--- a/src/diff.c
+++ b/src/diff.c
@@ -600,7 +600,7 @@ int git_diff__oid_for_entry(
error = -1;
} else if (!(error = git_filter_list_load(
&fl, diff->repo, NULL, entry.path,
- GIT_FILTER_TO_ODB, GIT_FILTER_OPT_ALLOW_UNSAFE)))
+ GIT_FILTER_TO_ODB, GIT_FILTER_ALLOW_UNSAFE)))
{
int fd = git_futils_open_ro(full_path.ptr);
if (fd < 0)