summaryrefslogtreecommitdiff
path: root/git.h
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2022-07-30 14:21:31 -0300
committermrb0nk500 <b0nk@b0nk.xyz>2022-07-30 14:21:31 -0300
commit31bb4276c730c70fcdaa89d270d32ab15c4975d2 (patch)
tree31db42dd70cf90e8a090d4aa9e42abd50982ba82 /git.h
parent5524b1730736c01d7b6172d2cc250b85cbf748d2 (diff)
git: Add `cleanup_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 3bd79bd..ac3455b 100644
--- a/git.h
+++ b/git.h
@@ -45,6 +45,7 @@ struct pull_request {
};
extern void cleanup_git(git_repository **repos);
+extern void cleanup_pull_request(pull_request *pr);
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);