diff options
author | Edward Thomson <ethomson@github.com> | 2021-11-22 10:29:29 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-22 10:29:29 -0500 |
commit | 3461aaf77aad4240ec921697293dc681a8564023 (patch) | |
tree | 5696a4946f7d30a315bf1105f1000529a46bf269 | |
parent | bc0d1ad21e17a610dd484a8970cb2765ae8b6c8e (diff) | |
download | libgit2-3461aaf77aad4240ec921697293dc681a8564023.tar.gz |
repo: minor formatting fix
-rw-r--r-- | src/repository.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/repository.c b/src/repository.c index 2002e1186..fcdb1b3a9 100644 --- a/src/repository.c +++ b/src/repository.c @@ -2038,9 +2038,8 @@ static int repo_init_structure( * `git` prints to stderr: 'warning: templates not found in /path/to/tdir' */ if (error < 0) { - if (!default_template && error != GIT_ENOTFOUND) { + if (!default_template && error != GIT_ENOTFOUND) return error; - } /* if template was default, ignore error and use internal */ git_error_clear(); |