Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVicent Martí <tanoku@gmail.com>2012-05-18 03:48:50 +0400
committerVicent Martí <tanoku@gmail.com>2012-05-18 03:48:50 +0400
commit904b67e69fa15b7a3246e43b3d78645ffa2331f6 (patch)
tree3be54c31248759ba27a08cef52558385116d9b19 /src/crlf.c
parente172cf082e62aa421703080d0bccb7b8762c8bd4 (diff)
errors: Rename error codesbreaking-changes
Diffstat (limited to 'src/crlf.c')
-rw-r--r--src/crlf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crlf.c b/src/crlf.c
index 5fb1be516..303a46d3b 100644
--- a/src/crlf.c
+++ b/src/crlf.c
@@ -85,7 +85,7 @@ static int crlf_load_attributes(struct crlf_attrs *ca, git_repository *repo, con
error = git_attr_get_many(attr_vals,
repo, 0, path, NUM_CONV_ATTRS, attr_names);
- if (error == GIT_NOTFOUND) {
+ if (error == GIT_ENOTFOUND) {
ca->crlf_action = GIT_CRLF_GUESS;
ca->eol = GIT_EOL_UNSET;
return 0;