lib


Log

Author Commit Date CI Message
Stefan Sperling eaccb85f 2018-12-25T15:19:52 store a parsed base commit ID in struct got_worktree
Stefan Sperling 0f92850e 2018-12-25T15:02:25 fix naming of some work tree meta data files and macros
Stefan Sperling 93a30277 2018-12-24T20:11:47 make got_worktree_checkout_files() infer base commit from meta data
Stefan Sperling 65596e15 2018-12-24T19:59:50 store base commit in a dedicated meta file
Stefan Sperling 08d425ea 2018-12-24T19:49:50 undo previous
Stefan Sperling a1a7858a 2018-12-24T18:15:42 store commit hash along with the HEAD ref in .got/head
Stefan Sperling de060dff 2018-12-24T17:39:23 handle zero-length files in open_blob() correctly
Stefan Sperling 454a6b59 2018-12-24T17:32:40 fix fwrite() call in got_object_blob_dump_to_file()
Stefan Sperling 61d6eaa3 2018-12-24T17:30:26 fix broken fwrite() check in add_file_on_disk()
Stefan Sperling b6752625 2018-12-24T17:28:46 fix an unchecked fwrite() call in got_object_blob_dump_to_file()
Stefan Sperling b87c6f83 2018-12-24T17:09:24 catch fatal i/o errors in add_file_on_disk()
Stefan Sperling 3fe2daf1 2018-12-24T17:03:21 remove pointless memcopies from fileindex code
Stefan Sperling 7426bbfd 2018-12-24T16:53:03 rename fileindex functions from open/close to alloc/free
Stefan Sperling 9eb6a6b2 2018-12-24T16:48:45 fix byte-swaps in fileindex read code
Stefan Sperling 52a74475 2018-12-24T16:46:13 implement got_fileindex_read() - not yet tested
Stefan Sperling b8bdcc21 2018-12-24T15:49:43 rename local variable in got_worktree_checkout_files()
Stefan Sperling 5e0b25c4 2018-12-24T14:37:19 wrap another long line
Stefan Sperling a7403916 2018-12-24T14:33:38 wrap overlong line
Stefan Sperling aea5f015 2018-12-24T14:29:50 drop dead code from got_privsep_send_obj_req()
Stefan Sperling 9f2369b0 2018-12-24T14:25:18 make all the read_privsep functions local to object.c
Stefan Sperling ebc55e2d 2018-12-24T14:18:56 eliminate got_object_open() round-trip when opening blobs
Stefan Sperling 09de383e 2018-12-24T14:18:21 fix crash in blame since 18f4293943894155d5ccbdb423f1e8a2bb1e1d62
Stefan Sperling 268f7291 2018-12-24T11:18:58 eliminate got_object_open() round-trip when opening tags
Stefan Sperling 54156555 2018-12-24T10:58:32 undo commit timestamps next to paths in diffs; they are redundant
Stefan Sperling 18f42939 2018-12-24T10:49:42 show blob headers in diffs for added/deleted files
Stefan Sperling adacb96f 2018-12-24T10:39:46 show commit timestamps in diff headers
Stefan Sperling 13c729f7 2018-12-24T09:35:07 eliminate got_object_open() round-trip when opening trees
Stefan Sperling 8524ff9a 2018-12-23T23:45:06 don't clean up twice in start_pack_privsep_child()
Stefan Sperling 711fb6e8 2018-12-23T23:41:25 de-duplicate some code I copied around in object.c
Stefan Sperling a158c901 2018-12-23T23:35:37 make all the _packed_read_privsep() functions local to object.c
Stefan Sperling 6e72e6a3 2018-12-23T23:21:35 there's no point in embedding the object header in commits
Stefan Sperling 1785f84a 2018-12-23T23:15:42 eliminate got_object_open() round-trip when opening commits
Stefan Sperling 4796fb13 2018-12-23T15:09:42 pass object ID to open_loose_object() instead of an object
Stefan Sperling ddf1c734 2018-12-23T14:54:03 make got_object_blob_id_str() a private API
Stefan Sperling 15a94983 2018-12-23T14:48:47 remove struct got_object from public library API
Stefan Sperling 45d799e2 2018-12-23T12:10:27 make commit objects opaque in the library's API
Stefan Sperling abd2672a 2018-12-23T11:36:31 move commit header printing in diffs out of the library
Stefan Sperling 06ca4d09 2018-11-19T10:14:24 stop history traversal once blame has annotated all lines
Stefan Sperling 6fcac457 2018-11-19T10:05:28 store number of lines in int instead of size_t
Stefan Sperling f2e233d8 2018-11-19T09:57:31 don't abort blame in annotate_line() if lines are out of range
Stefan Sperling 998ff57f 2018-11-19T00:22:17 make advance_branch() search the smaller id set first
Stefan Sperling 9f57848c 2018-11-19T00:20:14 remove unnecessary graph search in advance_branch()
Stefan Sperling 81a966c0 2018-11-19T00:11:01 whitespace
Stefan Sperling b7cd37e5 2018-11-19T00:05:48 eliminate strlen() in got_object_id_by_path()
Stefan Sperling 3b7f9878 2018-11-19T00:04:25 eliminate strlen() call in got_object_tree_path_changed()
Stefan Sperling 73026088 2018-11-18T23:47:19 rename got_commit_graph_node's commit_timestamp to timestamp
Stefan Sperling 7a62478b 2018-11-18T23:45:45 remove some unused cruft from commit graph
Stefan Sperling 0e9101d5 2018-11-18T23:37:05 if-return-early instead of if-else in detect_changed_path()
Stefan Sperling 7310c1c3 2018-11-18T23:33:59 don't open tree unnecessarily in detect_changed_path()
Stefan Sperling ce95c694 2018-11-18T23:30:14 remove unreachable code
Stefan Sperling 45f209d7 2018-11-18T23:18:50 add_node() must remove freed nodes from graph in error path
Stefan Sperling 9b88e78c 2018-11-18T23:08:01 don't add duplicates to commit graph's open branches set
Stefan Sperling d2c2d781 2018-11-18T21:46:12 fix comparison of parents content in advance_branch()
Stefan Sperling 6dcdad08 2018-11-18T21:45:31 plug memory leaks in advance_branch()
Stefan Sperling e20293f2 2018-11-17T16:35:27 revert previous; it made a wrong assumption and broke diff
Stefan Sperling 4b917664 2018-11-17T16:34:00 make diff's match_entry_by_name() exit early if possible
Stefan Sperling d6ce02f1 2018-11-17T16:30:29 fix paths in diffs showing newly added trees
Stefan Sperling f4a881ce 2018-11-17T16:04:05 more support for tag objects; new code is not yet reachable
Stefan Sperling 13f977b4 2018-11-17T13:14:21 Set output to NULL if got_object_parse_tree() fails.
Stefan Sperling 6f3efa55 2018-11-16T09:49:09 remove unused declarations
Stefan Sperling 8fa9fd14 2018-11-11T15:14:58 remove unnecessary cast
Stefan Sperling 73b7854a 2018-11-11T15:13:06 handle error imsg directly in got_privsep_recv_imsg()
Stefan Sperling 46de5bfd 2018-11-11T15:10:33 wrap overlong line
Stefan Sperling 96732e0b 2018-11-11T15:05:43 fix error handling in got_pack_stop_privsep_child()
Stefan Sperling e93cd828 2018-11-11T15:03:21 fix imsg_compose() error check in got_privsep_send_error()
Stefan Sperling 9489f1f7 2018-11-11T13:53:24 avoid use-after-free via got_object_idset_for_each()
Stefan Sperling d1451975 2018-11-11T13:52:20 add custom error code for 'no such tree entry' errors
Stefan Sperling 91a3d81f 2018-11-11T13:41:46 introduce got errors with custom messages; add one for ERR_NO_OBJ
Stefan Sperling 99437157 2018-11-11T12:52:59 abort checkout operations cleanly when Ctrl-C is hit
Stefan Sperling b2f7af54 2018-11-11T11:40:53 check for size_t overflow in got_delta_apply_in_mem() like libgit2's c15771104 (delta: fix overflow when computing limit)
Stefan Sperling 34fca9c3 2018-11-11T11:10:11 bounds checks before memcpy in got_delta_apply_in_mem()
Stefan Sperling 246e1c78 2018-11-08T19:09:27 prevent free of bogus pointers via fetch_commits_from_open_branches()
Stefan Sperling 5e50c36a 2018-11-08T19:09:08 remove premature optimization which resulted in buggy logic
Stefan Sperling b9c33926 2018-11-07T08:59:06 avoid unnecessary memcpy in got_privsep_send_commit()
Stefan Sperling a58a49db 2018-11-07T08:50:59 avoid unnecessary memcpy in got_privsep_send_tree()
Stefan Sperling 68bf1b1e 2018-11-07T08:43:13 unnecessary repeated strlen() in parse_tree_entry()
Stefan Sperling c3b78ecc 2018-11-07T08:24:04 no need to zero tree during allocation in got_privsep_recv_tree()
Stefan Sperling 291624d8 2018-11-07T08:21:38 kill more unnecessary memcpy in privsep.c
Stefan Sperling c0588d8d 2018-11-07T08:00:51 avoid unnecessary memcpy in got_privsep_recv_tree()
Stefan Sperling 32777563 2018-11-07T07:28:37 avoid tips temp copy in fetch_commits_from_open_branches()
Stefan Sperling cb103d04 2018-11-07T06:42:26 allow got_object_idset_for_each() to return an error
Stefan Sperling 1bf85b22 2018-11-07T06:28:59 stop messing with the open_branches set in add_node()
Stefan Sperling 63da309a 2018-11-07T05:22:46 tree entries are sorted, so find_entry_by_name() can exit early
Stefan Sperling 08451938 2018-11-05T23:23:23 no need to zero path during allocation in get_packfile_path()
Stefan Sperling 14118581 2018-11-05T23:20:43 no need to zero got_delta during allocation
Stefan Sperling e6ace2b9 2018-11-05T23:17:03 remove unnecessary #include
Stefan Sperling e336e3d6 2018-11-05T22:45:25 use userspace red-black tree macros, not kernel ones
Stefan Sperling f054b67a 2018-11-05T22:28:03 remove object_idcache; use object_idset instead
Stefan Sperling 984e8a45 2018-11-05T21:18:58 implement object idset with a red-black tree
Stefan Sperling 6dfaee02 2018-11-05T19:09:07 initialize te->mode in parse_tree_entry()
Stefan Sperling 507aef8f 2018-11-05T18:57:41 no need to zero object cache entries during allocation
Stefan Sperling acf0c7c6 2018-11-05T18:56:36 no need to zero commit's tree ID during allocation
Stefan Sperling d83eb5cd 2018-11-05T18:50:09 make id cache eviction more efficient
Stefan Sperling 5df4932d 2018-11-05T18:25:15 improve handling of struct got_object_qid allocations
Stefan Sperling a0b3389c 2018-11-05T18:15:49 no need to zero new id cache elements during allocation
Stefan Sperling 294f39b0 2018-11-05T18:14:37 no need to zero new idset elements during allocation
Stefan Sperling 32ac459c 2018-11-05T18:12:25 there's no need to zero tree entries during allocation
Stefan Sperling 15fe583f 2018-11-05T17:57:30 search most recently opened pack index first, not last
Stefan Sperling 649fc316 2018-11-05T17:41:24 remove a redundant call to detect_changed_path()
Stefan Sperling bfd1f6da 2018-11-05T16:59:42 init commit timestamp earlier in commit graph's add_node()