summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/config.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/config.c b/src/config.c
index fbea6f30c..5b63381e4 100644
--- a/src/config.c
+++ b/src/config.c
@@ -146,9 +146,9 @@ int git_config_snapshot(git_config **out, git_config *in)
*out = NULL;
- /* Refresh the input config first */
- if ((error = git_config_refresh(in)) < 0)
- return error;
+ /* Refresh the input config first */
+ if ((error = git_config_refresh(in)) < 0)
+ return error;
if (git_config_new(&config) < 0)
return -1;