Commits
- Commit:
91758173656aacb101565ee19634da15141d6c11
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add missing algo to object id
- Commit:
43428b698225cb8ddfebc487046c88ddc05fe482
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix fix follout
- Commit:
fdfa61d55ed7f0ca9bf766eb2b9ee9d023ac0216
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix "handle both sha1 and sha256 in pack files"
- Commit:
fb2a9ab8a28891a770e6d0c260b76dfba2f2f369
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix pack checksum handling for sha256
- Commit:
079a296c54f560fb82144704231757db030e9b03
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix fallout; mostly struct got_object_id zeroing
- Commit:
2d9874c22b16a541dd8300cf257123c5aaf88e5e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
bump hash size and add algo field to got_object_id; fix a few places
- Commit:
42b6bfc81cdd6a9cba14c9d8916aeddbe561a356
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add field to got_packidx to propagate the hash algo
allows to drop all the `algo' hardcodings in lib/pack.c and pack_idx.c
- Commit:
f57598a25f07ea6b68f64ef9369142b9c056eb05
- From:
- Omar Polo <op@omarpolo.com>
- Date:
handle both sha1 and sha256 object ids in pack files
bump got_packidx_object_id so it can hold a sha256 digest and adapt
the code to read the needed type of hash.
- Commit:
2e17b4a13c5799df8b2f315a4e457d35a7571597
- From:
- Omar Polo <op@omarpolo.com>
- Date:
rename pack{file,idx}_sha1 to _hash
- Commit:
a41a7d4af7426fd81c7dcb8b98dae1c7d9ea9acd
- From:
- Omar Polo <op@omarpolo.com>
- Date:
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
- Commit:
82f7e4c89aedcb1b224d85a6a5f2ae78b16bc943
- From:
- Omar Polo <op@omarpolo.com>
- Date:
introduce more helpers to deal with different hash digests
- Commit:
3f81ccbdc1260ec6bd1465a10f6cc3a530a991b3
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add functions to compute hashes
This adds a set of functions to abstract over SHA1Init, SHA1Update,
SHA1Final, their respective SHA256 variants and how to compare digests.
It's a preparatory step for sha256 pack handling.
- Commit:
4123af3c87c004ce1cbcb2b9e33521eb235603f1
- From:
- Omar Polo <op@omarpolo.com>
- Date:
rename lib/sha1.c to lib/hash.c
- Commit:
e83f12a6cd77a496e5c30f0154aced0d04962189
- From:
- Omar Polo <op@omarpolo.com>
- Date:
include sha2.h where sha1.h is included
- Commit:
24b7de1c04072bf25db2df8acbf93a7ba7bbabfd
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
avoid copying reused deltas to delta cache file; copy from pack file instead
ok op@