We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc0d1ad commit 3461aafCopy full SHA for 3461aaf
src/repository.c
@@ -2038,9 +2038,8 @@ static int repo_init_structure(
2038
* `git` prints to stderr: 'warning: templates not found in /path/to/tdir'
2039
*/
2040
if (error < 0) {
2041
- if (!default_template && error != GIT_ENOTFOUND) {
+ if (!default_template && error != GIT_ENOTFOUND)
2042
return error;
2043
- }
2044
2045
/* if template was default, ignore error and use internal */
2046
git_error_clear();
0 commit comments