Commits
- Commit:
7a793324a13a776e0a36d3c17378f21b7454eb83
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fixed un-initialized object id
- 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:
d4eec7d5a4198505ab2a13e256444d57033846b9
- From:
- Omar Polo <op@omarpolo.com>
- Date:
handle repository format version 1 and objectformat extension
- 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:
d6720956975e97012cad5147fc6fa9b599a72b1b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add an hash algo field to got_pack - maybe useless
- Commit:
c66ecbcb0a2490fb69c7a79d2b794fa9404c3053
- From:
- Omar Polo <op@omarpolo.com>
- Date:
adjust GOT_PACKIDX_NAMELEN for sha256 packs
- 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:
95b631b25683415ef380e22998436c28ad3e34c0
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add got_repo_get_object_format()
...and use it to avoid hardcoding the algo in a few places.
- Commit:
0be5386d2f5cb3b62d4c63218734063b97053417
- From:
- Omar Polo <op@omarpolo.com>
- Date:
provide functions to parse/serialize sha256 digest plus a generic helper
it abstracts over the hash type. Needed by the incoming sha256 support.
- 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:
49351f3bf4ab5a99f1b0653e176e01ab5988acde
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make 'got import' -I option match directory names with a trailing slash
reported by Lucas on IRC, who sent a patch which this commit was based on
ok jamsek
- Commit:
27749ea2ddbc482ad434ed865e0f855313db0a27
- From:
- Omar Polo <op@omarpolo.com>
- Date:
got-read-gitconfig: send key-value pairs for extensions
Most extension allow only for a boolean value so the current behaviour
of just sending the extension with a trueish value is fine. However,
some extensions that we could eventually support (like "objectformat")
have a string value. This is a preparatory step towards that.
ok stsp@