lib


Log

Author Commit Date CI Message
Stefan Sperling 97128b57 2018-04-02T10:09:22 in get_packfile_size(), get errno from stat() and init output early
Stefan Sperling 1c7e24f1 2018-04-02T10:05:35 avoid unnecessary string copies and allocations in get_packfile_size()
Stefan Sperling 5261c201 2018-04-01T23:37:09 rename 'refs' to 'reference'
Stefan Sperling 4810de4a 2018-04-01T23:16:35 we have implemented all object types, switch to better error code
Stefan Sperling 92088384 2018-04-01T23:00:57 fix use of unitialized value in case of EOF in got_inflate_read()
Stefan Sperling f7b38925 2018-04-01T20:40:35 make paths shown during checkout match what is created on disk
Stefan Sperling 3235492e 2018-04-01T18:17:18 add the ability to start the log at a particular commit
Stefan Sperling 2acfca77 2018-04-01T17:44:32 don't forgot to close blobs after diffing them
Stefan Sperling bb5dcc10 2018-04-01T17:28:38 fix open file leaks in previous
Stefan Sperling ecf6e46e 2018-04-01T17:21:25 check for fopen() failures in got_diffreg()
Stefan Sperling 16dcbf91 2018-04-01T15:59:36 remove debug code accidentally committed
Stefan Sperling 72eb3431 2018-04-01T15:57:43 look up deltas in the correct pack file
Stefan Sperling 040bf4a1 2018-04-01T14:43:53 stop using fmemopen(); that code path didn't work correctly
Stefan Sperling 84eb021e 2018-03-27T23:18:58 show function prototypes in diff output
Stefan Sperling 07ccb00b 2018-03-27T23:08:07 be careful about NULL trees when diffing entries
Stefan Sperling c2c21d46 2018-03-27T21:56:33 show 3 lines of context in file diffs
Stefan Sperling 0a585a0d 2018-03-17T18:13:19 remove GOT_ERR_NO_MEM, we can just use errno in those cases
Stefan Sperling 718b3ab0 2018-03-17T17:50:48 rename the library-internal headers again to a common prefix
Stefan Sperling 8bf5b3c9 2018-03-17T17:42:48 rewrite 'got log' without recursion
Stefan Sperling 4589e373 2018-03-17T15:41:39 remove mmap() stuff; checkout is fast enough for now
Stefan Sperling 0bd0053c 2018-03-17T15:31:18 handle empty files in got_packfile_extract_object()
Stefan Sperling 56866f4a 2018-03-17T15:27:00 fix resource leaks in error paths of got_object_blob_open()
Stefan Sperling d0f3be7c 2018-03-17T15:17:14 initialize some output variables on failure
Stefan Sperling 6bb255dc 2018-03-17T15:12:44 don't dup_packidx() during cache lookup; fixes performance :)
Stefan Sperling 40426839 2018-03-17T15:05:06 remove unused argument from get_delta_chain_max_size()
Stefan Sperling c52ac529 2018-03-17T15:01:36 extract objects smaller than DELTA_RESULT_SIZE_CACHED_MAX to memory
Stefan Sperling a53d2f13 2018-03-17T14:19:13 cache delta data in struct got_delta directly
Stefan Sperling 6d89869a 2018-03-17T03:35:04 use cached packfile in open_packed_object()
Stefan Sperling 18e99ab6 2018-03-17T03:32:28 fix fd leak in got_object_open()
Stefan Sperling 999f19f6 2018-03-17T02:36:20 use cached packfile in resolve_ref_delta()
Stefan Sperling e1ad6ebc 2018-03-17T02:12:34 remove path_packfile from struct got_delta_cache; add a counter instead
Stefan Sperling f7e127f3 2018-03-17T02:02:32 move delta cache into struct got_pack
Stefan Sperling 7e656b93 2018-03-17T01:37:48 add struct got_pack; some preparation for mmap, which isn't used yet
Stefan Sperling b29656e2 2018-03-16T23:05:12 set obj->size of packed deltified objects to object's actual size
Stefan Sperling 65cf1e80 2018-03-16T22:33:22 revert the pack file handle cache again; needs more thought
Stefan Sperling ef2bccd9 2018-03-16T22:14:51 stop opening pack files redundantly to read deltas
Stefan Sperling 6845d284 2018-03-16T21:40:20 use SEEK_SET instead of SEEK_CUR after opening packfile
Stefan Sperling 87c99799 2018-03-16T21:26:06 start caching file handles to packfiles
Stefan Sperling 19d747f7 2018-03-16T20:18:09 avoid an extra memcpy in got_inflate_to_mem()
Stefan Sperling 43a2d19d 2018-03-16T19:28:52 need to subtract hdrlen from tree data in got_object_tree_open()
Stefan Sperling ea35256b 2018-03-16T19:27:48 avoid a round-trip via tempfile when reading packed commits
Stefan Sperling 40dc5ff8 2018-03-16T19:22:22 rename a function for clarity
Stefan Sperling e0ab43e7 2018-03-16T19:20:15 avoid a round-trip of data through a temp file when reading trees
Stefan Sperling 8628c62d 2018-03-15T01:21:57 process small deltas in memory; unfortunately it is not faster...
Stefan Sperling 1cc8e7f9 2018-03-15T00:31:05 remove a useless and leaky allocation
Stefan Sperling 9db65d41 2018-03-14T23:42:16 In dump_delta_chain(), don't open the packfile if it's not needed.
Stefan Sperling ec889268 2018-03-14T23:32:19 fix open file handle leak in dump_delta_chain()
Stefan Sperling 9feb4ff2 2018-03-14T02:37:58 propagate error from delta cache insertion; fixes mem leak
Stefan Sperling bd1223b9 2018-03-14T01:21:09 add a delta cache; saves us from reading + decompressing some deltas
Stefan Sperling 4834ca96 2018-03-13T19:03:55 add a macro for zbuf buffer size
Stefan Sperling 8e6b5191 2018-03-13T18:53:41 restrict in-memory delta processing to 4MB
Stefan Sperling 22484865 2018-03-13T18:28:40 process delta chains in memory if max size is < 32 MB
Stefan Sperling 39ff877f 2018-03-13T16:31:33 expand deltas in memory if result size is < 32MB
Stefan Sperling 0bb8a95e 2018-03-12T22:00:08 add support for checking out a subtree
Stefan Sperling 92a684f4 2018-03-12T21:34:38 show progress during checkout
Stefan Sperling 4847cca1 2018-03-12T20:56:31 make is_git_repo() check for a usable HEAD reference
Stefan Sperling 4986b9d5 2018-03-12T20:51:37 add support for opening bare repositories
Stefan Sperling deeca238 2018-03-12T20:41:51 in is_git_repo(), actually verify presence of git repository dirs and files
Stefan Sperling 23b19d00 2018-03-12T14:08:37 fix worktree test build: remove more unused variables
Stefan Sperling 25783624 2018-03-12T13:59:29 use stricter CPPFLAGS from mpi
Stefan Sperling 51664889 2018-03-12T13:41:13 in got_worktree_checkout_files, init file index path before using
Stefan Sperling e77c4c9f 2018-03-12T13:37:17 remove base-commit meta file; this will move into the fileindex
Stefan Sperling c34b20a2 2018-03-12T13:06:03 write file index after checking out files
Stefan Sperling 9d31a1d8 2018-03-11T20:39:31 initial implementation of worktree checkout
Stefan Sperling dc2404d9 2018-03-11T14:28:36 remove got_worktree_change_head() for now
Stefan Sperling 35be1456 2018-03-11T14:27:53 implement got_worktree_get_head_ref_name()
Stefan Sperling e559c328 2018-03-11T14:22:19 refine file index data structures a bit more
Stefan Sperling 32cb896c 2018-03-11T14:10:56 rename library-private headers from *_priv.h to *_lib.h
Stefan Sperling 78727e91 2018-03-11T14:02:12 add missing function declarations
Stefan Sperling c48c4a9c 2018-03-11T13:59:29 implement fileindex entry open/close
Stefan Sperling 5677e194 2018-03-11T13:20:25 rename got_zb_priv.h to got_zbuf_priv.h
Stefan Sperling a76a38d9 2018-03-11T13:17:56 rename zb.c to zbuf.c
Stefan Sperling c88eb298 2018-03-11T13:15:49 rename worktree_root to root_path in struct worktree
Stefan Sperling cde76477 2018-03-11T13:14:08 rename some fields in struct worktree
Stefan Sperling e8f36958 2018-03-11T13:11:43 read / free the head ref when work tree is opened / closed
Stefan Sperling d6c38e0d 2018-03-11T13:08:03 free base commit when worktree is closed
Stefan Sperling f5baf295 2018-03-11T13:06:45 read base commit hash when worktree is opened
Stefan Sperling 65e3b818 2018-03-11T12:52:02 set base commit to invalid commit id when work tree is created
Stefan Sperling 0605801d 2018-03-11T12:44:13 check read() return value properly in read_meta_file()
Stefan Sperling 7ac97322 2018-03-11T12:41:21 rename variable gotpath to path_got
Stefan Sperling fdf001a7 2018-03-11T12:28:15 add a proper definition for the worktree head
Stefan Sperling e350ead3 2018-03-11T12:23:28 create an emtpy base-commit file
Stefan Sperling 056e7441 2018-03-11T11:39:48 use a dedicated file for the work tree lock
Stefan Sperling 58ecc593 2018-03-11T02:53:51 document how work tree locking will work
Stefan Sperling ef99fdb1 2018-03-11T02:31:27 use flock(2) because open(2) O_NONBLOCK also enables non-blocking I/O
Stefan Sperling 73a5ef67 2018-03-11T02:15:34 lock meta data files in worktree correctly
Stefan Sperling 6d9d28c3 2018-03-11T02:03:45 implement worktree open and close operations
Stefan Sperling 2cb4bacb 2018-03-11T01:33:55 assume good path input in got_worktree_init()
Stefan Sperling 09fe317a 2018-03-11T01:33:02 add function to read worktree meta data file
Stefan Sperling 4d94df2d 2018-03-11T01:19:40 rename worktree set_head() operation to change_head()
Stefan Sperling 606778cd 2018-03-11T01:18:45 fileindex update function probably won't be needed after all
Stefan Sperling 577ec78f 2018-03-11T01:15:39 store a path prefix in the worktree; will be used for subtree checkout
Stefan Sperling 2e8aa240 2018-03-11T01:07:09 file_index -> fileindex
Stefan Sperling fca9db82 2018-03-11T01:06:29 rename file_index -> fileindex
Stefan Sperling 9dce68ed 2018-03-10T17:44:23 typo in comment
Stefan Sperling ed7464bb 2018-03-10T17:15:18 whitespace
Stefan Sperling 281294a5 2018-03-10T17:14:25 add stub for anticipated worktree function which updates fileindex
Stefan Sperling 99724ed4 2018-03-10T17:08:23 add a helper function which creates worktree meta files
Stefan Sperling 1451e70d 2018-03-10T16:51:30 stamp worktrees with a format number
Stefan Sperling 8eea5a5c 2018-03-10T01:13:12 bump copyright