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 79cdddf..0b64f48 100644
--- a/git.c
+++ b/git.c
@@ -93,7 +93,7 @@ int get_info_len(pull_request *pr) {
}
-int create_info(pull_request *pr, const char *pr_dir) {
+int create_info_file(pull_request *pr, const char *pr_dir) {
int len;
int buf_len;
int j = 0;
@@ -197,7 +197,7 @@ int create_pull_request_dir(pull_request *pr, int id, const char *root) {
return -1;
}
/* Did we fail to create the info file? */
- if (!create_info(pr, pr_dir)) {
+ if (!create_info_file(pr, pr_dir)) {
log(LOG_ERR, "Failed to create info file.");
return -1;
}