Commits
- Commit:
232c0ac1b26d38add9148b4e0382fc86c0cabd37
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
remove dependency of gitwrapper, gotctl, and gotsh on object_parse.c
Move some functions from object_parse.c into hash.c. These functions either
require hash.c code anyway or contain object ID implementation internals.
Add a new file object_qid.c, for got_object_id_queue and got_object_qid.
This new file must be linked to virtually every program.
- Commit:
98670ba726486c39efff220ab1e074c62023aae7
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: rework SHA detection
Simply the SHA detection by not predicating on libcrypto, but instead
checking individual header files.
- Commit:
4680f704353811c8bb6ce65eac3714d1bd200c26
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: remove sha1.h; found portably
Remove sha1.h as this is found portably across systems.
- Commit:
588a8092bc282294ee23585991e81586905a8fd4
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- 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:
b6b86fd1b9828e38d59915e62fddce62952b8b75
- From:
- Josiah Frentsos <jfrent@tilde.team>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
remove trailing whitespace; patch by Josiah Frentsos
- Commit:
8b925c6ccd3968917253ea191906a1710c40ed2d
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: add back sys/queue.h
Now that the handling of including sys/queue.h is better, there's no
need to remove those lines from the source. Copy the location of those
original sys/queue.h lines from upstream at the same line number, so as
to avoid any conflicts in the future.
- Commit:
ef7d4e11a44df1a1101c5d61d1d44991f29c5668
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: portably #include siphash.h
Now that siphash is being looked for in a portable way, don't assume
<siphash.h> as this is most likely not going to be the case on non-BSD
systems.
- Commit:
ec242592d329728975bf10a1196907167de7fed0
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
inline struct got_object_id in struct got_object_qid
Saves us from doing a malloc/free call for every item on the list.
ok op@
- Commit:
619de35f3933b60159828e7115fca7fdb9bbb5e8
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
reimplement object-ID set data structure on top of a hash table
Siphash suggested by jrick as a better alternative to murmurhash
for this use case.
with small fixes from and ok op@
- Commit:
9fad5d8c4a361d55ab50c7d41ddb1353d76c7302
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
check return value of RB_INSERT; ok + memleak fix by op@
- Commit:
3a4790b63c064d57bc9a61ebeb2dc145d6468f53
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix potential NULL deref in error path of got_object_idset_remove()
- Commit:
f9c2e8e5d5310b6b1cd22dcfc8f9f5d1d7a16d19
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
reuse existing deltas when creating pack files
tested by thomas, naddy, and myself
- Commit:
92a9e85d28a30997176ce0d3c2915e3ea70782c7
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: add FreeBSD support
This adds the capability to compile got-portable on FreeBSD.
- Commit:
dd038bc6ec835ad3fd3c0b5303b8af9ad506c8cc
- From:
- Thomas Adam <thomas@xteddy.org>
- Via:
- Thomas Adam <thomas.adam@smoothwall.net>
- Date:
portable: initial Linux compilation
This commit modifies the GoT main branch to be able to compile it under
linux.
- Commit:
372b6d8e5b983bf61c5f30a021ded616fda535c8
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove unused function got_object_idset_lookup_data(); same code as idset_get()
- Commit:
ded8fbb852004c3af2b31b1286f4fcfb50b998ba
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
include the relevant object ID in NO_OBJ error messages where possible
- Commit:
93658fb90d8fedd9c447896835e7c76f35e04ed2
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
Add initial support for network protocol. Ported from git9 by Ori Bernstein.
- Commit:
638f9024045bbe2420143f8868dcc484c231c634
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
rename got_error_prefix_errno() to got_error_from_errno()
- Commit:
230a42bdc60c6136d2a5ce65bf1a2f26d990c096
- From:
- joshua stein <jcs@jcs.org>
- Date:
got_error_from_errno -> got_error_prefix_errno
also add got_error_prefix_errno2 and got_error_prefix_errno3 which
should hopefully all be merged into a single function with variadic
args (but can't alloc mem)
- Commit:
5d56da8198435fa1d0e717f60d562f4a28e2e4e0
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
happy new copyright year
- Commit:
11624658e63b039ca9c172f4c2dca569f6b39bd0
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove unused definition of nitems()
- Commit:
9489f1f77a4a15e1615e514cd49ed27b0be30e21
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
avoid use-after-free via got_object_idset_for_each()
- Commit:
cb103d042c6d1e6cb1483ffa71f54577a8564d9a
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
allow got_object_idset_for_each() to return an error
- Commit:
e6ace2b90ee6111deb92527646ea83c429136464
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove unnecessary #include
- Commit:
e336e3d63c90ab23959397503067ff6a47c38bfc
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use userspace red-black tree macros, not kernel ones