vendor/libgit2/src/libgit2/annotated_commit.c in rugged-1.5.1 vs vendor/libgit2/src/libgit2/annotated_commit.c in rugged-1.6.2

- old
+ new

@@ -38,10 +38,10 @@ if ((error = git_commit_dup(&annotated_commit->commit, commit)) < 0) goto done; git_oid_fmt(annotated_commit->id_str, git_commit_id(commit)); - annotated_commit->id_str[GIT_OID_HEXSZ] = '\0'; + annotated_commit->id_str[GIT_OID_SHA1_HEXSIZE] = '\0'; if (!description) description = annotated_commit->id_str; annotated_commit->description = git__strdup(description);