summaryrefslogtreecommitdiff
path: root/git.h
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2022-07-31 17:29:50 -0300
committermrb0nk500 <b0nk@b0nk.xyz>2022-07-31 17:34:07 -0300
commitdb9647bc5b51859d83f1e3ab299ccc03536e6cae (patch)
tree1665a3d38f99239c7217bf7c4d91f2d8e32427e5 /git.h
parent7e27a353e5731584d3697d34668508960c28bc1b (diff)
pullreqd, git: Replace every current instance of `git_repository` with `git_repo`
This is done in order to make it easier to get the name of the repo.
Diffstat (limited to 'git.h')
-rw-r--r--git.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/git.h b/git.h
index e6514e2..222dc28 100644
--- a/git.h
+++ b/git.h
@@ -50,9 +50,9 @@ struct pull_request {
git_branch *merge_branch; /* Branch to merge pull request with. */
};
-extern void cleanup_git(git_repository **repos);
+extern void cleanup_git(git_repo **repos);
extern void cleanup_pull_request(pull_request *pr);
-extern git_repository **init_git(config *cfg);
+extern git_repo **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);