summaryrefslogtreecommitdiff
path: root/src/blob.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/blob.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/blob.c')
-rw-r--r--src/blob.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/blob.c b/src/blob.c
index ba8769cdc..cf0329064 100644
--- a/src/blob.c
+++ b/src/blob.c
@@ -199,7 +199,7 @@ int git_blob__create_from_paths(
/* Load the filters for writing this file to the ODB */
error = git_filter_list_load(
&fl, repo, NULL, hint_path,
- GIT_FILTER_TO_ODB, GIT_FILTER_OPT_DEFAULT);
+ GIT_FILTER_TO_ODB, GIT_FILTER_DEFAULT);
if (error < 0)
/* well, that didn't work */;
@@ -357,7 +357,7 @@ int git_blob_filtered_content(
if (!(error = git_filter_list_load(
&fl, git_blob_owner(blob), blob, path,
- GIT_FILTER_TO_WORKTREE, GIT_FILTER_OPT_DEFAULT))) {
+ GIT_FILTER_TO_WORKTREE, GIT_FILTER_DEFAULT))) {
error = git_filter_list_apply_to_blob(out, fl, blob);