Readability

This commit is contained in:
Ben Straub 2014-02-18 14:07:42 -08:00
parent 9bda5fb8c1
commit 864535cf85

View File

@ -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;
}