summaryrefslogtreecommitdiff
path: root/src/libgit2/annotated_commit.h
diff options
context:
space:
mode:
authorYuang Li <yuangli88@hotmail.com>2022-07-29 01:32:40 +0100
committerGitHub <noreply@github.com>2022-07-29 01:32:40 +0100
commit09acf6986513381316c8797c4529323bff8525a5 (patch)
tree2802cfbafd3e7d94e6a3153848ed0edf3ac1aebc /src/libgit2/annotated_commit.h
parent3d7a609d632d7a16d099897735f41dae248e943b (diff)
parent7f46bfac14f0502711f8441348fd361175953fd5 (diff)
downloadlibgit2-09acf6986513381316c8797c4529323bff8525a5.tar.gz
Merge branch 'mw_dev' into shallow-clone-local
Diffstat (limited to 'src/libgit2/annotated_commit.h')
-rw-r--r--src/libgit2/annotated_commit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libgit2/annotated_commit.h b/src/libgit2/annotated_commit.h
index 444a2ed10..c87eaa805 100644
--- a/src/libgit2/annotated_commit.h
+++ b/src/libgit2/annotated_commit.h
@@ -41,7 +41,7 @@ struct git_annotated_commit {
const char *ref_name;
const char *remote_url;
- char id_str[GIT_OID_HEXSZ+1];
+ char id_str[GIT_OID_SHA1_HEXSIZE+1];
};
extern int git_annotated_commit_from_head(git_annotated_commit **out,