Commits
- Commit:
2f43cd698e3fcc3000262b3e0f3a2119f06345bb
- From:
- Stefan Sperling <stsp@stsp.name>
- 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:
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:
5e91dae4dd43b8024731223110ab18f505f453ac
- From:
- Josiah Frentsos <jfrent@tilde.team>
- Via:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove trailing whitespace; patch by Josiah Frentsos
- Commit:
d7b5a0e827bb38e5c8502f0ba8d7838fedaba19b
- From:
- Stefan Sperling <stsp@stsp.name>
- 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:
cbc287dcbb29ad321dca5cd14c31998279205243
- From:
- Stefan Sperling <stsp@stsp.name>
- 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:
a7472cb3288c2323830462f53706b013f33c444e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
check return value of RB_INSERT; ok + memleak fix by op@
- Commit:
0ae61b79f6344b7913b8daf346b41b4e3fe8211a
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix potential NULL deref in error path of got_object_idset_remove()
- Commit:
67fd68496517d3103b130a1085efdd4591bd7416
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
reuse existing deltas when creating pack files
tested by thomas, naddy, and myself
- 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
- Commit:
f054b67ad04873dfbc5d2644a77c3cf422af3c67
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove object_idcache; use object_idset instead
- Commit:
984e8a45c4baf9764b411c634efe60ccb173097c
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
implement object idset with a red-black tree
- Commit:
294f39b084fde876f9974c967dd7c002a4e8b07b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
no need to zero new idset elements during allocation
- Commit:
b36429aba0124d4bc92ec4dd7b285ace7abfcaee
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
reduce the amount of memcmp() calls via got_object_idset_add()
- Commit:
13e51608f0cc4d543d573a2194077091608875c5
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix bug where duplicates were being added to object idset
- Commit:
f831532b96ca120d766ce7c8ee00fdd5a0d7b415
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove unused got_object_idset_remove_random()