Commits
- Commit:
47cb6f8b62ed4ad39838a5d4702f593b23d3e7f2
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix GOT_IMSG_COMMIT_TRAVERSAL_REQUEST
The sending and receiving side are sending the data differently. It
works now by chance since a struct got_object_id is "just" a
SHA1_DIGEST_LENGTH sized buffer, but will break in the future.
Furthermore, the structure of the data as described in got_lib_privsep.h
is not respected, as the path_len field is not transmitted.
Change it to send/receive a whole struct got_object_id, the path without
the NUL and the proper length. (The path is also actually mandatory, so
assert it too.)
improvements + ok stsp@
- Commit:
d6baa0f6da2663235688f774619dbf494add2f27
- From:
- Omar Polo <op@omarpolo.com>
- Date:
remove now unused sha1 handling from inflate and deflate
both were changed to use the new got_hash APIs.
- Commit:
c3b9af18468be6672f62e2d321b5fc2893837c62
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
add xfail test for "got update" replacing a file with a directory
ok stsp
- Commit:
1eb5d2a086f570f5bd47339ea2f7e477d9503422
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
regress: git_rm will cd into the test repo by itself
- Commit:
e2bd307e144cf6a7c5a878d68e04bd8c744153ea
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
merge TODO wording tweak: 'got rebase' says "forwarding", not "fast-forwarding"
- Commit:
80be18be44c18ed586311d60524d01633b94cf6f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix bad wording used in previous commit
- Commit:
1756e377b0f3d32399f9bb06d235b261190cbf2f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add a TODO item for 'got merge' based on IRC discussion with James Cook
- Commit:
017d8b7bf9006ae1bc36f6b1a38978f2782b363f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
properly initialize csum struct in write_packed_object()
fixes send.sh test fallout on arm64 and should also fix i386
ok op@
- Commit:
14f89e3e5394e931edf4581cfb229beef1de3f41
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
format message digest as hex string directly without snprintf()
ok op
- Commit:
ae25a666dd4099105786ef32f1e6ebaf92abe64d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add some helper 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.
Replace all the SHA1*() usage with the new APIs. It's a preparatory
step for sha256 handling.
ok stsp@
- Commit:
87a3ab84d3eb87b790e3d34aeec2c344a8d7375b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
provide functions to parse/serialize different hashes
it abstracts over the hash type and ensures that object ids are zero'ed
before their sha1 digest is written. Needed by the incoming sha256
support.
ok stsp@
- Commit:
53bf0b541977b66862040d4b633fb6b5d3a3c6c8
- From:
- Omar Polo <op@omarpolo.com>
- Date:
rename lib/sha1.c to lib/hash.c
It will soon grow functions to deal with sha256 too. stsp@ agrees.
- Commit:
5822e79e39a8777984e08b5d89a8c55d6aa0356d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
include sha2.h too where sha1.h is included
In preparation for wide sha256 support; stsp@ agrees. Change done
mechanically with
find . -iname \*.[cy] -exec sam {} +
X ,x/<sha1\.h>/i/\n#include <sha2.h>
- Commit:
af48e677ec38c47d1177ca776b01e299b0f2a96d
- From:
- Josiah Frentsos <jfrent@tilde.team>
- Via:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: add missing colon after 'Message' in diff view
Patch by Josiah Frentsos, thanks!
- Commit:
2bf91741ebcd0f2201d0115e4a7d8c2ab1ba4c30
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
bump version number