From be48dd9af6d9fb1b7ab5c90fcb0c8b1cb3a20738 Mon Sep 17 00:00:00 2001 From: mrb0nk500 Date: Wed, 27 Jul 2022 09:04:36 -0300 Subject: git: Update definition of `create_pull_request_dir()` in `git.h` Forgot to do that when first implementing the index related stuff. --- git.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/git.h b/git.h index dd770e2..ef1b83a 100644 --- a/git.h +++ b/git.h @@ -4,6 +4,7 @@ #include #include #include +#include "index.h" typedef struct pull_request pull_request; typedef struct file file; @@ -45,6 +46,6 @@ struct pull_request { extern void cleanup_git(git_repository **repos); extern git_repository **init_git(config *cfg); extern int add_comment(comment *comment, const char *pr_root); -extern int create_pull_request_dir(pull_request *pr, int id, const char *root); +extern int create_pull_request_dir(pull_request *pr, index *idx, const char *root); #endif -- cgit v1.2.3-13-gbd6f