diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2018-11-28 14:26:57 +0000 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2018-12-01 11:54:57 +0000 |
commit | 168fe39bea3368972a8b1a33d5908e73bc790c18 (patch) | |
tree | c6d07340e2d8d2d66091c44c7763f3e1823acca2 /src/commit_list.c | |
parent | 18e71e6d597abe6c7feb666429c921bd19dc0ba8 (diff) | |
download | libgit2-ethomson/index_fixes.tar.gz |
object_type: use new enumeration namesethomson/index_fixes
Use the new object_type enumeration names within the codebase.
Diffstat (limited to 'src/commit_list.c')
-rw-r--r-- | src/commit_list.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commit_list.c b/src/commit_list.c index b4313eed2..078a87bc0 100644 --- a/src/commit_list.c +++ b/src/commit_list.c @@ -192,7 +192,7 @@ int git_commit_list_parse(git_revwalk *walk, git_commit_list_node *commit) if ((error = git_odb_read(&obj, walk->odb, &commit->oid)) < 0) return error; - if (obj->cached.type != GIT_OBJ_COMMIT) { + if (obj->cached.type != GIT_OBJECT_COMMIT) { giterr_set(GITERR_INVALID, "object is no commit object"); error = -1; } else |