diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2022-07-27 09:04:36 -0300 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2022-07-27 09:04:36 -0300 |
commit | be48dd9af6d9fb1b7ab5c90fcb0c8b1cb3a20738 (patch) | |
tree | b8c2e9e5504059c726d85680ec570cfa51c5263b /git.h | |
parent | 93c6d10ea0048a32009395a2154978ce3f538da7 (diff) |
git: Update definition of `create_pull_request_dir()` in `git.h`
Forgot to do that when first implementing the index related stuff.
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 |