summaryrefslogtreecommitdiff
path: root/src/repository.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/repository.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/repository.c')
-rw-r--r--src/repository.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/repository.c b/src/repository.c
index c9275078f..23c99b0f0 100644
--- a/src/repository.c
+++ b/src/repository.c
@@ -1849,7 +1849,7 @@ int git_repository_hashfile(
if (strlen(as_path) > 0) {
error = git_filter_list_load(
&fl, repo, NULL, as_path,
- GIT_FILTER_TO_ODB, GIT_FILTER_OPT_DEFAULT);
+ GIT_FILTER_TO_ODB, GIT_FILTER_DEFAULT);
if (error < 0)
return error;
} else {