summaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
Diffstat (limited to 'git.c')
-rw-r--r--git.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/git.c b/git.c
index be54aa9..e13b787 100644
--- a/git.c
+++ b/git.c
@@ -281,7 +281,7 @@ static int parse_info_file_path(pull_request *pr, const char *root) {
return ret;
}
-pull_request *get_pull_request(index *idx, const char *root) {
+pull_request *get_pull_request(index_t *idx, const char *root) {
/* Do we have a valid index? */
if (is_valid_index(idx)) {
char *pr_dir;
@@ -519,7 +519,7 @@ file **get_branch_commits(git_branch *br) {
return NULL;
}
-int create_pull_request_dir(pull_request *pr, index *idx, const char *root) {
+int create_pull_request_dir(pull_request *pr, index_t *idx, const char *root) {
int ret = 0;
struct stat st;
file **commits;