mirror of
https://git.proxmox.com/git/libgit2
synced 2025-08-07 11:10:40 +00:00
Readability
This commit is contained in:
parent
9bda5fb8c1
commit
864535cf85
@ -2006,5 +2006,7 @@ int git_repository_is_shallow(git_repository *repo)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
return error < 0 ? error : st.st_size == 0 ? 0 : 1;
|
if (error < 0)
|
||||||
|
return error;
|
||||||
|
return st.st_size == 0 ? 0 : 1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user