Commits


bundle v3 read support


testsss typo fix


generate got bundles v3 when in sha256 repos


testsss


add object-format to gotadmin info


gotadmin init -t object-format


load: support bundle v3 The counterpart of generating v3 bundles is to load them.


generate bundles v3 when in sha256 repos bundles v2 don't have a way to specify the object-format and so they can't work in sha256 mode; v3 adds a some "capabilities" so that it's possible to specify the object-format (and also other things that we aren't interested in actually.)


support to create/index sha256 packfiles in a few cases, an array of SHA1_DIGEST_LENGTH has been converted to a struct got_object_id to simplify the handling.


create sha256 bare objects


fileindex: improve unexpected object-format error message suggested by stsp


add sha256 support to the worktree and fileindex code


simplify trim_obj_id(): replace echo|sed with expr(1)


fix got_object_id initialization when parsing off a delta


regress: run gotadmin pack/cleanup -r instead of cd'ing This way core files will be left in the current directory instead that in the test one that is going to be immediately removed.