diff options
| author | Edward Thomson <ethomson@microsoft.com> | 2015-02-19 11:09:54 -0500 |
|---|---|---|
| committer | Edward Thomson <ethomson@microsoft.com> | 2015-02-19 11:09:54 -0500 |
| commit | 795eaccd667ce24c290b6211ca0c6a84f84e7c2b (patch) | |
| tree | bdef91425a91ee616f3358630ee9f2a25ede27fd /src/crlf.c | |
| parent | d4cf167515d3ed7b27c1358fc2e19b9caf66e8ad (diff) | |
| download | libgit2-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/crlf.c')
| -rw-r--r-- | src/crlf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crlf.c b/src/crlf.c index c0a73990f..b5d1dbf32 100644 --- a/src/crlf.c +++ b/src/crlf.c @@ -302,7 +302,7 @@ static int crlf_check( return error; /* downgrade FAIL to WARN if ALLOW_UNSAFE option is used */ - if ((git_filter_source_options(src) & GIT_FILTER_OPT_ALLOW_UNSAFE) && + if ((git_filter_source_flags(src) & GIT_FILTER_ALLOW_UNSAFE) && ca.safe_crlf == GIT_SAFE_CRLF_FAIL) ca.safe_crlf = GIT_SAFE_CRLF_WARN; } |
