Commits
- Commit:
9e56bdf9d7deb5c9c510a46a91fb918c1ba4c9d2
- From:
- Omar Polo <op@omarpolo.com>
- Date:
run more tests in sha256 mode
Since we've been quickly expanded the support for sha256, instead
of making the regress "opt-in", make them "opt-out". Basically,
only the regress that are reaching the network protocol code needs
to be disabled as of now in sha256 mode (until we add support for
git protocol v2).
- Commit:
38d18775b821d504089ef6268fc301f527ccb169
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotadmin: add flag to `init' to choose the hashing algorithm
Do the same for `got init' too obviously. Repositories created via
`clone' are implicitly sha1 since we don't speak the v2 protocol
(yet).
ok stsp@
- Commit:
ff129794b3e633a240763b063e8966f92f74d299
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotadmin: show hashing algorithm in `info' output
part of a larger diff that's ok stsp@
- Commit:
a5a5a156a91a17c59934179af8eca099a95b6c2d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
load: support bundle v3
The counterpart of generating v3 bundles is to load them.
- Commit:
5f3e316cffd649c7f4164a0c825f4847082a2875
- From:
- Omar Polo <op@omarpolo.com>
- Date:
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.)
- Commit:
394b0db70a9cfc5f89b616d8c88d8e2e602346db
- From:
- Omar Polo <op@omarpolo.com>
- Date:
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.
- Commit:
515d451f3ad6aff3d0b4148d7e6234bddbe17447
- From:
- Omar Polo <op@omarpolo.com>
- Date:
create sha256 bare objects
- Commit:
36f93b25da24c22c2fa19fdcf274b80b663083d3
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fileindex: improve unexpected object-format error message
suggested by stsp
- Commit:
5bbd34eadb5ecb96d4863dbd7e83a180574a9f7d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add sha256 support to the worktree and fileindex code
- Commit:
d8d59ea5c6e99332dc7a3ca39d0ff6e74629c903
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
simplify trim_obj_id(): replace echo|sed with expr(1)
- Commit:
0048f35afa41d388854a0aba3d335e433bb52445
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix got_object_id initialization when parsing off a delta
- Commit:
b5f376b8e96fb99d8458d8046b950618cdc36c05
- From:
- Omar Polo <op@omarpolo.com>
- Date:
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.
- Commit:
df9b8d556c1e74a55dc19bb0a6e6375336e6e27f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
set the `algo' field in a few forgotten cases
These were a bit hard to find. We set the id to 0xff[...] so they sort
later, but the algo also needs to be set correctly.
- Commit:
e8f51a79078ceac369889d40494e721e7a6027f4
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix the patch code for sha256
extra (dumbiness) point for me to having chosen to use "41" instead of
SHA1_DIGEST_STRING_LENGTH originally!
- Commit:
020c3e5d53e88505ee823e1ac7895d9a604f9a66
- From:
- Omar Polo <op@omarpolo.com>
- Date:
bump error string buffer for sha256 hashes