Skip to content

Commit

Permalink
Readability
Browse files Browse the repository at this point in the history
  • Loading branch information
ben committed Feb 18, 2014
1 parent 9bda5fb commit 864535c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/repository.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit 864535c

Please sign in to comment.