diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2022-08-05 13:58:09 -0300 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2022-08-05 13:58:09 -0300 |
commit | 16f20cd4834c6a004246a80ca18033ca80224b56 (patch) | |
tree | 83a4a9d97edfb536248c81e49e6a0c42c9788626 | |
parent | 93f7c56d879d0a4075b833f561b7b99fab5bd07c (diff) |
git: Don't return an error when the patch file array is NULL in
`create_pull_request_dir()`
This is because we won't be creating patch files for remote branches.
-rw-r--r-- | git.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -777,8 +777,7 @@ int create_pull_request_dir(pull_request *pr, index_t *idx, const char *root, co free_files(commits); } } else { - log(LOG_ERR, "Patch file array is NULL."); - ret = -1; + log(LOG_WARNING, "Patch file array is NULL."); } free(pr_dir); return ret; |