lib


Log

Author Commit Date CI Message
Stefan Sperling 3d8df59c 2019-02-05T14:49:54 add a caller-provided data pointer to path list elements
Stefan Sperling 7a3c76f5 2019-02-05T14:41:20 fix insert_ref() to provide ordering similar to path lists
Stefan Sperling 7e5c804b 2019-02-05T14:20:14 allow for detecting path duplicates with got_pathlist_insert()
Stefan Sperling e08cc72d 2019-02-05T14:12:38 add a pathlist API
Stefan Sperling fc727cc5 2019-02-05T11:16:33 insert at tail of list in insert_dirent()
Stefan Sperling 3ca16530 2019-02-04T18:48:07 append to tail of reflist, not to the head of the list
Stefan Sperling 554b91b1 2019-02-04T16:55:18 oops, fix endless loop in diff_fileindex_dir(); code was missing somehow
Stefan Sperling f8d1f275 2019-02-04T14:46:17 add a worktree status API
Stefan Sperling 500cd40f 2019-02-04T14:19:29 make fileindex dir diff traverse dirents in git-tree order
Stefan Sperling b25ae4fa 2019-02-04T12:18:23 ignore top-level .got dir during fileindex dir diff
Stefan Sperling b1ec3986 2019-02-04T11:51:19 skip "." and ".." in diff_fileindex_dir()
Stefan Sperling d1f6d47b 2019-02-04T11:17:36 add support for diffing fileindex against an on-disk directory tree
Stefan Sperling f44ffd20 2019-02-04T10:59:59 rename tree-specific fileindex diff callbacks
Stefan Sperling e397b6db 2019-02-04T10:48:23 make got_ref_list() return a sorted list
Stefan Sperling 29b5c214 2019-02-04T10:37:07 on-disk refs must take precedence over packed-refs
Stefan Sperling 1e37702e 2019-02-04T10:24:14 internally represent a non-existent ref as NULL rather than as error
Stefan Sperling a04f49d2 2019-02-04T09:54:40 include non-packed refs in results from got_ref_list()
Stefan Sperling 76b4ead2 2019-02-03T17:15:26 add missing error checks in got_ref_list()
Stefan Sperling 30c0868d 2019-02-03T17:08:03 improve error codes in lib/reference.c
Stefan Sperling 2aa0475c 2019-02-03T17:00:40 add got_error_not_ref()
Stefan Sperling 199a4027 2019-02-02T15:00:28 make 'got log' show packed refs and HEAD ref (pther refs not shown yet)
Stefan Sperling e0e55b50 2019-02-01T22:46:32 Support tags in Linux git repo which do not carry name of tagger.
Stefan Sperling 0bd18d37 2019-02-01T22:16:47 add potentially useful helpers for tag objects and refs
Stefan Sperling 532920c8 2019-02-01T22:02:43 actually return once parse_packed_ref_line() succeeds
Stefan Sperling 0dec1cc0 2019-02-01T21:42:23 parse packed refs in a single pass over packed-refs file
Stefan Sperling c5f754cc 2019-02-01T21:30:38 optimize code path for lookup of well-known refs
Stefan Sperling bd376bb3 2019-02-01T21:13:57 handle absolute refs being passed to open_packed_ref()
Stefan Sperling fb79db15 2019-02-01T21:01:58 add read support for packed refs
Stefan Sperling 62d20534 2019-01-29T00:09:32 remove redundant condition check in cmp_entries()
Stefan Sperling bad322f2 2019-01-29T00:02:42 make cmp_entries() operate on paths instead of structs
Stefan Sperling 9d2a8e53 2019-01-28T23:55:41 move forward declaration of diff_fileindex_tree() further down
Stefan Sperling 70e2377c 2019-01-28T23:54:46 move definition of cmp_entries() closer to point of use
Stefan Sperling 63de4136 2019-01-28T23:51:52 turns out in_same_subdir() check is mostly redundant
Stefan Sperling c18d206e 2019-01-28T23:17:39 simplify in_same_subdir()
Stefan Sperling 85987309 2019-01-28T23:15:22 eliminate code duplication in cmp_entries() and in_same_subdir()
Stefan Sperling 99fda3ad 2019-01-28T23:10:32 eliminate redundant strlen() call inside in_same_subdir()
Stefan Sperling 5d79cba5 2019-01-28T23:09:27 eliminate redundant strlen() call in cmp_entries()
Stefan Sperling 6e8d14a3 2019-01-28T23:05:12 eliminate code duplication in cmp_entries()
Stefan Sperling fd92308e 2019-01-28T22:59:46 invert same subdir check in cmp_entries(); no functional change
Stefan Sperling f06111e5 2019-01-28T22:57:56 remove unused parameter of in_same_subdir()
Stefan Sperling 5d56da81 2019-01-13T17:15:53 happy new copyright year
Stefan Sperling 85a703fa 2019-01-13T17:04:03 got_pack_get_object_size() -> got_pack_get_max_delta_object_size()
Stefan Sperling 14bbd1f0 2019-01-13T16:59:16 remove redundant goto statement
Stefan Sperling e650241d 2019-01-13T16:00:55 remove unused field from struct got_blob_object
Stefan Sperling ac544f8c 2019-01-13T15:58:39 pass smallish blobs directly via imsg buffer
Stefan Sperling c65fcef2 2019-01-13T14:07:17 fix leaks in add_dir_on_disk(), and ensure all parents get created
Stefan Sperling 21908da4 2019-01-13T13:59:20 fix bug where update got confused by sub-sub directories
Stefan Sperling bd4792ec 2019-01-13T12:56:35 fix more bugs in the update walk and add more tests
Stefan Sperling a7f9d64d 2019-01-13T01:52:51 change GOT_INDEX_ENTRY prefix to GOT_FILEIDX
Stefan Sperling c97665ae 2019-01-13T01:43:17 tolerate missing files in remove_ondisk_file()
Stefan Sperling 5f9fef37 2019-01-13T01:42:50 avoid redundant file index additions in install_blob()
Stefan Sperling b6d05318 2019-01-13T01:05:23 don't bother with memcpy for hdr in got_fileindex_read()
Stefan Sperling 27d0e5bd 2019-01-12T23:05:44 flush the file index after writing it
Stefan Sperling a5744d71 2019-01-12T23:00:44 don't bother with memcpy of header when writing the file index
Stefan Sperling cf61d818 2019-01-12T22:38:58 allow recovery of a bad file index by removing it and updating
Stefan Sperling 4a1ddfc2 2019-01-12T22:15:58 fix bug where update forgot to create a parent directory
Stefan Sperling 7e7c1e4c 2019-01-12T21:11:48 avoid pointless call to got_error_from_errno()
Stefan Sperling 1beed999 2019-01-12T21:06:50 rename got_compare_paths to got_path_cmp
Stefan Sperling 50952927 2019-01-12T21:00:42 fix various issues in new update implementation
Stefan Sperling 27793341 2019-01-12T18:58:04 introduce special error code for a corrupt file index
Stefan Sperling 8da9e5f4 2019-01-12T18:39:19 implement checkout+update as single-pass diff between file index and tree
Stefan Sperling 81a30460 2019-01-09T00:41:58 fix a path matching bug in collect_missing_file()
Stefan Sperling 25a58941 2019-01-08T23:56:48 remove the pathset abstraction again; replaced by RB tree
Stefan Sperling 7a9df742 2019-01-08T23:52:50 replace use of got_pathset in worktree code with RB tree
Stefan Sperling 133d2798 2019-01-08T23:00:56 use RB tree directly instead of a pathset in file index code
Stefan Sperling e0159033 2019-01-08T22:32:42 generalize the pathset's path comparison function
Stefan Sperling 025eb8a5 2019-01-08T22:26:44 avoid unnecessary strdup() in got_pathset's find_element()
Stefan Sperling 6b798c3c 2019-01-08T22:22:53 don't forgot to free file index entries in got_fileindex_free()
Stefan Sperling b504a804 2019-01-08T22:18:23 switch file index entries from TAILQ to got_pathset
Stefan Sperling 8f6d9a6a 2019-01-08T21:48:28 mark got_pathset iteration functions as safe
Stefan Sperling 398789b2 2019-01-08T21:32:07 fix name of a constant in pathset.c
Stefan Sperling 4ba899b3 2019-01-08T21:24:02 remove entry from file index after removing on-disk file, not before
Stefan Sperling 63f4f47b 2019-01-08T21:05:06 whitespace
Stefan Sperling 26c4ac4d 2019-01-08T20:40:28 stop trying to remove parents if a non-empty parent is traversed
Stefan Sperling 90285c3b 2019-01-08T20:13:18 properly remove empty directories left behind during updates
Stefan Sperling efaf56b7 2019-01-08T19:56:13 add got_pathset_for_each_reverse()
Stefan Sperling aaa0878e 2019-01-08T19:44:25 add got_pathset API which manages a tree of paths
Stefan Sperling 11624658 2019-01-08T19:03:33 remove unused definition of nitems()
Stefan Sperling e1ed7f77 2019-01-06T13:47:14 must use safe iteration over file index entries
Stefan Sperling 5cc266ba 2019-01-06T13:14:54 make 'got update' remove directories in a checkout with path prefix
Stefan Sperling 1f46d0af 2019-01-06T13:06:21 rename misleadinly named field in struct collect_missing_entry_args
Stefan Sperling 82d71325 2019-01-06T12:31:33 improve wording of a comment in tree_checkout()
Stefan Sperling f5c49f82 2019-01-06T12:12:16 make 'got update' remove empty directories
Stefan Sperling 6e9da951 2019-01-06T10:46:46 make got_repo_get_path_git_dir() return const char *
Stefan Sperling 7839bc15 2019-01-06T10:42:56 make got_repo_get_path() return const char *
Stefan Sperling 63219cd2 2019-01-04T17:25:09 use unveil(2) in 'got checkout'
Stefan Sperling 512f0d0e 2019-01-03T00:57:49 make 'got update' remove files which were deleted
Stefan Sperling be7061eb 2018-12-30T17:30:42 ensure that 'got update' stays on the current branch
Stefan Sperling 507dc3bb 2018-12-29T17:18:51 add a basic 'got update' command; does not merge files yet
Stefan Sperling e5dc7198 2018-12-29T16:07:41 fix 'same path prefix' check during checkout
Stefan Sperling f609be2e 2018-12-29T15:55:44 fix got_worktree_get_repo_path()
Stefan Sperling 2fbdb5ae 2018-12-29T15:54:00 remove useless strdup from got_worktree_get_repo_path()
Stefan Sperling 49520a32 2018-12-29T15:51:56 verify path prefix when checking out into existing work tree
Stefan Sperling 381be7cc 2018-12-29T15:41:16 don't bother opening trees outside of path prefix
Stefan Sperling eac9755f 2018-12-29T15:39:32 don't bother opening a blob if checkout will skip it
Stefan Sperling a207cf0a 2018-12-29T15:27:13 rename add_file_on_disk() to blob_checkout()
Stefan Sperling 144ad43a 2018-12-29T15:26:21 make checkout skip blobs already recorded in file index
Stefan Sperling eecfbcd1 2018-12-29T15:14:24 introduce macros for status codes
Stefan Sperling d7b62c98 2018-12-27T20:40:39 signal existing files in checkout progress output
Stefan Sperling d70b8e30 2018-12-27T20:35:14 allow checkout on top of an existing tree