Commit Briefs

f2daaf5c78 Omar Polo

bump hash size and add an algo field to got_object_id (sha256)


7a968c0ed2 Omar Polo

rename "sha1" field to "hash"

done with X ,x/\.sha1/c/.hash X ,x/->sha1/c/->hash in sam after loading all the C files; except for one manual tweak in hash.c



e5c03b5556 Omar Polo

sha256 packs support


4108f1e954 Omar Polo

do not hardcode SHA1 digest length


14bbe0dc37 Omar Polo

add got_hash_digest_to_str


a3dc7ed231 Omar Polo

prepare got_object_parse_tree for sha256


f540978827 Omar Polo

opaquify sorted_ids


3502917311 Omar Polo

fix grouping in commit traversal


f300c925ec Omar Polo

backout 4f73a04b63 "Remove unnecessary sched_yield(2)"

this made tog regress hang in an infinite loop, reported by naddy. Remove unnecessary sched_yield(2). Re-applies commit 6b8a2b8fcd99c4365b1aa9513c0f0149beac2491 which was reverted in commit 82954512f323c8a2d4f89d51be1e6b0f707b6c3a because at the time the change broke the 'search' feature. Quick testing suggests search is now working fine, so let's try again.


243943f63d Omar Polo

do not hardcode digest length (cont)


8fdd817825 Omar Polo

bubble up the hash algorithm


571192ee62 Omar Polo

don't hardcode digest length when parsing packed trees

ok stsp@


4239df3cca Omar Polo

add a comment to remind us to switch back to malloc()

while here also fix the function name in the error message, spotted by stsp.



dcb4802348 Omar Polo

adjust GOT_PACKIDX_NAMELEN for sha256 pack files

ok stsp@


35a11c8a7a Omar Polo

fix ref parsing for sha256

ok stsp@


ab62f2123a Omar Polo

add an algo field to struct got_packidx

ok tobhe@, stsp@


c3434cef3d Omar Polo

add an algo field to struct got_pack

Future work on sha256 will need the current hashing algorithm at hand. ok tobhe@, stsp@


020f73dba5 Omar Polo

add got_hash_digest{,_string}_length()

These will be very much useful in the near future.


be12ea2c34 Omar Polo

ensure we properly zero got_object_id structs

ok tobeh@


03a62f6dd7 Omar Polo

bump version number


334f014fa7 Omar Polo

CHANGES for 0.101 (tags/0.101)


3972b88979 Omar Polo

use proper type for got_imsg_enumerated_tree

ok stsp@


85e62fc9f5 Omar Polo

use proper type for got_imsg_enumerated_commit

ok stsp@