diff options
Diffstat (limited to 'src/annotated_commit.h')
-rw-r--r-- | src/annotated_commit.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/annotated_commit.h b/src/annotated_commit.h index cbb88fd22..3ac8b5f69 100644 --- a/src/annotated_commit.h +++ b/src/annotated_commit.h @@ -33,8 +33,11 @@ struct git_annotated_commit { git_index *index; git_array_oid_t parents; - char *ref_name; - char *remote_url; + /* how this commit was looked up */ + const char *description; + + const char *ref_name; + const char *remote_url; char id_str[GIT_OID_HEXSZ+1]; }; |