summaryrefslogtreecommitdiff
path: root/git.h
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2022-07-30 11:28:09 -0300
committermrb0nk500 <b0nk@b0nk.xyz>2022-07-30 11:28:09 -0300
commit0a1723376cfe7325521e4210e97aa4f2f5e45994 (patch)
treebcab72f40969b2dc5577ada3c0bf4bfdfb3bd845 /git.h
parentd98868fa4d03659aad9ad2d858ee51e414d54ce4 (diff)
git: Add missing extern definition for `get_pull_request()`
Diffstat (limited to 'git.h')
-rw-r--r--git.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/git.h b/git.h
index 17b3658..3bd79bd 100644
--- a/git.h
+++ b/git.h
@@ -46,6 +46,7 @@ struct pull_request {
extern void cleanup_git(git_repository **repos);
extern git_repository **init_git(config *cfg);
+extern pull_request *get_pull_request(index_t *idx, const char *root);
extern int add_comment(comment *comment, const char *pr_root);
extern int create_pull_request_dir(pull_request *pr, index_t *idx, const char *root);