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-02 06:16:14 +0400
committerVicent Martí <tanoku@gmail.com>2012-05-02 06:16:14 +0400
commitb88021463f9ca4ebffe8e2a5b15d4b09be465923 (patch)
tree41695a3f26cb9d3bc9b07461f09bdcd154056431 /src/filter.c
parent5587a9c93054643d66b022d03b975720e539cc3e (diff)
parent3aa351ea0fa0d9e8d155801cdac1e83d3b1717c1 (diff)
Merge remote-tracking branch 'carlosmn/remaining-errors' into new-error-handling
Conflicts: src/refspec.c
Diffstat (limited to 'src/filter.c')
-rw-r--r--src/filter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/filter.c b/src/filter.c
index 3389bed69..d6c2e1c97 100644
--- a/src/filter.c
+++ b/src/filter.c
@@ -95,8 +95,8 @@ int git_filters_load(git_vector *filters, git_repository *repo, const char *path
if (error < GIT_SUCCESS)
return error;
} else {
- return git__throw(GIT_ENOTIMPLEMENTED,
- "Worktree filters are not implemented yet");
+ giterr_set(GITERR_INVALID, "Worktree filters are not implemented yet");
+ return GIT_ENOTIMPLEMENTED;
}
return (int)filters->length;