summaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2021-06-27 09:57:01 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2021-06-27 09:57:01 -0400
commite3468285721774373c0640019c15fdb82df65e31 (patch)
tree12f3611f1b416f904b422c226fc7ed12761d1397 /git.c
parentc7463a63c4ee96d44542cae85e5f8ced798a667f (diff)
Renamed `create_info()` to `create_info_file()`.
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;
}