diff options
Diffstat (limited to 'src/repository.h')
-rw-r--r-- | src/repository.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/repository.h b/src/repository.h index 1a7271799..1edcc842b 100644 --- a/src/repository.h +++ b/src/repository.h @@ -214,8 +214,8 @@ GIT_INLINE(int) git_repository__ensure_not_bare( if (!git_repository_is_bare(repo)) return 0; - giterr_set( - GITERR_REPOSITORY, + git_error_set( + GIT_ERROR_REPOSITORY, "cannot %s. This operation is not allowed against bare repositories.", operation_name); |