summaryrefslogtreecommitdiff
path: root/src/annotated_commit.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/annotated_commit.h')
-rw-r--r--src/annotated_commit.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/annotated_commit.h b/src/annotated_commit.h
index e873184ae..37e3d9951 100644
--- a/src/annotated_commit.h
+++ b/src/annotated_commit.h
@@ -19,4 +19,7 @@ struct git_annotated_commit {
char id_str[GIT_OID_HEXSZ+1];
};
+extern int git_annotated_commit_from_head(git_annotated_commit **out,
+ git_repository *repo);
+
#endif