diff options
author | Vicent Marti <tanoku@gmail.com> | 2011-02-05 10:29:37 +0300 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2011-02-05 10:29:37 +0300 |
commit | c836c332f17ff2da8bdf6d18fb3d59eac2586ca9 (patch) | |
tree | 724bddb50a0c8f25e59845f9bd0587fb6724457a /src/refs.h | |
parent | 4569bfa55a44be3a03cf925df44bf1af0f21ddaa (diff) |
Make more methods return error codes
git_revwalk_next now returns an error code when the iteration is over.
git_repository_index now returns an error code when the index file could
not be opened.
Signed-off-by: Vicent Marti <tanoku@gmail.com>
Diffstat (limited to 'src/refs.h')
-rw-r--r-- | src/refs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/refs.h b/src/refs.h index 3b6d5673f..70196aa95 100644 --- a/src/refs.h +++ b/src/refs.h @@ -3,6 +3,7 @@ #include "common.h" #include "git2/oid.h" +#include "git2/refs.h" #include "hashtable.h" #define GIT_REFS_DIR "refs/" |