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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/annotated_commit.h b/src/annotated_commit.h
index 37e3d9951..9a041176e 100644
--- a/src/annotated_commit.h
+++ b/src/annotated_commit.h
@@ -21,5 +21,7 @@ struct git_annotated_commit {
extern int git_annotated_commit_from_head(git_annotated_commit **out,
git_repository *repo);
+extern int git_annotated_commit_from_commit(git_annotated_commit **out,
+ git_commit *commit);
#endif