diff options
Diffstat (limited to 'git.h')
-rw-r--r-- | git.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -4,6 +4,7 @@ #include <git2.h> #include <stdint.h> #include <time.h> +#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 |