summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--git.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/git.h b/git.h
index dd770e2..ef1b83a 100644
--- a/git.h
+++ b/git.h
@@ -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