Commit Briefs

Omar Polo

add got_parse_hash_digest helper

it abstracts over the hash type, allowing to just propagate the hash type as argument.


Omar Polo

inflate: support sha256


Omar Polo

parse_ref_line: parse sha256 hashes



Omar Polo

rename sha1.c to hash.c




Omar Polo

handle objectformat=sha256

repository format must be at least 1 for object format to be available.


Omar Polo

sed -i s/sha1/hash

not exactly, some "hash" were changed back to "sha1" for the time being.



Omar Polo

introduce got_error_checksum

ok stsp@


Omar Polo

introduce got_object_id_hex to replace some got_sha1_digest_to_str()

It's an analogous to got_object_id_str but writes to the given buffer. ok + improvements by stsp@


Stefan Sperling

rename a function for clarity



Mark Jamsek

typo and style(9): do not use function calls in initialisers.

ok stsp@