Commits


keep the id algo


got_object_open_by_id_str: handle sha256


add got_repo_get_hash_algorithm to query the repository hash algorithm


stuff to get `got log -p' working


copy whole id, not only the hash


fix got_object_id_cmp for sha256


initial sha256 handling for got-read-commit


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


inflate: support sha256


parse_ref_line: parse sha256 hashes


bump got_object_id hash size to make room for sha256 digests


rename sha1.c to hash.c


provide functions to parse/serialize sha256 digests


include sha2.h where sha1.h was included


handle objectformat=sha256 repository format must be at least 1 for object format to be available.