6 years ago Stefan Sperling
simplify got_error_from_errno()
don't forget to set error message in got_error_from_errno()
introduce got_ferror() and use it
bump copyright
use strerror_r()
add a conversion function from errno to got_error and use it
only define nitems() if it is not already defined
add copyright
initial import; current implementation only parses the .git/HEAD ref