diff options
author | Carlos Martín Nieto <carlos@cmartin.tk> | 2012-04-26 17:05:07 +0400 |
---|---|---|
committer | Carlos Martín Nieto <carlos@cmartin.tk> | 2012-04-26 17:38:42 +0400 |
commit | 3aa351ea0fa0d9e8d155801cdac1e83d3b1717c1 (patch) | |
tree | 9b2d8994245744ca0d2c2d07ef2d61e420451172 /src/filter.c | |
parent | eb3d71a5bcd78cb4840e62194e8998141508af88 (diff) |
error handling: move the missing parts over to the new error handling
Diffstat (limited to 'src/filter.c')
-rw-r--r-- | src/filter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/filter.c b/src/filter.c index d2d113409..88ad0295f 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; |