Commit 3461aaf77aad4240ec921697293dc681a8564023

Edward Thomson 2021-11-22T10:29:29

repo: minor formatting fix

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/src/repository.c b/src/repository.c
index 2002e11..fcdb1b3 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();