Skip to content

Commit 3461aaf

Browse files
author
Edward Thomson
authored
repo: minor formatting fix
1 parent bc0d1ad commit 3461aaf

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/repository.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2038,9 +2038,8 @@ static int repo_init_structure(
20382038
* `git` prints to stderr: 'warning: templates not found in /path/to/tdir'
20392039
*/
20402040
if (error < 0) {
2041-
if (!default_template && error != GIT_ENOTFOUND) {
2041+
if (!default_template && error != GIT_ENOTFOUND)
20422042
return error;
2043-
}
20442043

20452044
/* if template was default, ignore error and use internal */
20462045
git_error_clear();

0 commit comments

Comments
 (0)