Readability
diff --git a/src/repository.c b/src/repository.c
index 89ae324..96ed306 100644
--- a/src/repository.c
+++ b/src/repository.c
@@ -2006,5 +2006,7 @@ int git_repository_is_shallow(git_repository *repo)
return 0;
}
- return error < 0 ? error : st.st_size == 0 ? 0 : 1;
+ if (error < 0)
+ return error;
+ return st.st_size == 0 ? 0 : 1;
}