diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2021-08-01 12:46:54 -0400 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2021-08-01 12:46:54 -0400 |
commit | 12cd53117b38f17f4053a728a5de09a447f23e32 (patch) | |
tree | 5927ab28a16bd3641b382820f6874c611c6ecc66 | |
parent | 661d72e6066f74c381ea75bd4f183569d339c961 (diff) |
Fixed a typo in `create_pull_request_dir()`.
-rw-r--r-- | git.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -327,7 +327,7 @@ int create_pull_request_dir(pull_request *pr, int id, const char *root) { FILE *fp; /*char *filename = dir_path_name(root, sanitize_str(create_num_str(commits[i]->name, i)));*/ char *filename = create_num_str(commits[i]->name, i); - char *file = sanitized_dir_path_name(root, filename); + char *file = sanitized_dir_path_name(pr_dir, filename); /* Does this patch file exists? */ if (access(file, F_OK) == 0) { |