From 31bb4276c730c70fcdaa89d270d32ab15c4975d2 Mon Sep 17 00:00:00 2001 From: mrb0nk500 Date: Sat, 30 Jul 2022 14:21:31 -0300 Subject: git: Add `cleanup_pull_request()` --- git.h | 1 + 1 file changed, 1 insertion(+) (limited to 'git.h') 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); -- cgit v1.2.3-13-gbd6f