Log

Author Commit Date CI Message
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 c1669e2e 2019-01-09T19:20:52 implement recursive mode for 'got tree'
Stefan Sperling 80bd227c 2019-01-09T00:58:12 remove TODO items which have been done
Stefan Sperling 7c1607bc 2019-01-09T00:57:43 add another TODO item
Stefan Sperling 4482e97b 2019-01-09T00:50:37 shorten test name
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 5bff75ab 2019-01-08T20:50:50 add another TODO item
Stefan Sperling 26c4ac4d 2019-01-08T20:40:28 stop trying to remove parents if a non-empty parent is traversed
Stefan Sperling ab847d68 2019-01-08T20:32:55 KNF in pathset_test.c
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 8419a396 2019-01-06T14:24:00 add another todo item for tog
Stefan Sperling 54f77e21 2019-01-06T14:10:35 add a TODO file
Stefan Sperling 52a3df9b 2019-01-06T13:55:32 remove some unnecessary verification from update tests
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 4b0bb327 2019-01-06T10:49:53 document got_repo_get_path() and got_repo_get_path_git_dir()
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 3e9926ea 2019-01-04T18:40:22 fix diffing of blamed commit in 'tog blame'
Stefan Sperling f12d0dbe 2019-01-04T18:34:21 whitespace
Stefan Sperling eea47b7e 2019-01-04T18:22:11 apply unveil(2) to worktree tests
Stefan Sperling c89f2770 2019-01-04T17:59:29 apply unveil(2) to delta tests
Stefan Sperling cb44a3e5 2019-01-04T17:57:16 apply unveil(2) to repository tests
Stefan Sperling 92205607 2019-01-04T17:43:04 plug leaks in error path of tog blame
Stefan Sperling d188b9a6 2019-01-04T17:42:43 apply unveil(2) to 'tog tree'
Stefan Sperling 8e94dd5b 2019-01-04T17:41:30 apply unveil(2) to 'tog blame'
Stefan Sperling eb6600df 2019-01-04T17:40:37 apply unveil(2) to 'tog diff'
Stefan Sperling c2db6724 2019-01-04T17:39:24 apply unveil(2) to 'tog log'
Stefan Sperling 0f8d269b 2019-01-04T17:36:37 apply unveil(2) to 'got tree'
Stefan Sperling 36e2fb66 2019-01-04T17:35:53 apply unveil(2) to 'got blame'
Stefan Sperling 25eccc22 2019-01-04T17:34:41 apply unveil(2) to 'got diff'
Stefan Sperling 6098196c 2019-01-04T17:33:31 apply unveil(2) to 'got log'
Stefan Sperling 0266afb7 2019-01-04T17:32:19 apply unveil(2) to 'got update'
Stefan Sperling 63219cd2 2019-01-04T17:25:09 use unveil(2) in 'got checkout'
Stefan Sperling 9465d522 2019-01-03T17:31:28 make C test output match cmdline test output
Stefan Sperling 693719bc 2019-01-03T01:00:30 don't clobber cmp's exit code with diff's exit code
Stefan Sperling 512f0d0e 2019-01-03T00:57:49 make 'got update' remove files which were deleted
Stefan Sperling 3b4d3732 2019-01-02T22:03:34 test update with an added file
Stefan Sperling 370629d7 2019-01-02T18:41:45 make successful cmdline test output match that of other tests
Stefan Sperling 3c90ba67 2019-01-02T16:16:39 discard output of 'got checkout' in basic update test
Stefan Sperling 11c34c6d 2019-01-02T16:15:01 trim whitespace and remove a useless comment
Stefan Sperling c4096499 2019-01-02T16:13:43 clarify regress test requirements
Stefan Sperling 9c4b8182 2019-01-02T16:11:39 print new base commit ID when update is done
Stefan Sperling 0fbd721f 2019-01-02T15:56:12 fix testroot path used by basic update test
Stefan Sperling c84d8c75 2019-01-02T15:55:17 basic cmdline test for 'got update'
Stefan Sperling aeb03748 2019-01-02T15:47:01 don't run regress tests by default
Stefan Sperling 0e673013 2019-01-02T15:42:46 add a command line test suite with a simple 'got checkout' test
Stefan Sperling 2944241d 2018-12-30T19:44:06 add a TODO comment
Stefan Sperling be7061eb 2018-12-30T17:30:42 ensure that 'got update' stays on the current branch
Stefan Sperling 35c965b2 2018-12-29T17:22:33 add a TODO comment
Stefan Sperling 8c186821 2018-12-29T17:20:04 make 'got update' less chatty
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 a0eb853d 2018-12-29T15:12:23 make checkout status char unsigned
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
Stefan Sperling 3c5b70f2 2018-12-27T20:23:37 always NUL-terminate paths in write_fileindex_path()
Stefan Sperling 60619907 2018-12-27T19:37:53 fix check for NUL byte in read_fileindex_path()
Stefan Sperling 2e22a7cd 2018-12-27T19:19:03 remove redundant existence check
Stefan Sperling 51514078 2018-12-25T16:18:05 preparation for idempotent checkout: read exisiting file index
Stefan Sperling a143fb78 2018-12-25T15:59:11 try to sync file index to disk if checkout hits an error
Stefan Sperling 271d2a38 2018-12-25T15:38:24 store parsed head reference in struct got_worktree
Stefan Sperling fc76cabb 2018-12-25T15:24:16 store base commit of each blob in file index
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 4acef5ee 2018-12-24T22:26:29 fix crash in tog when diffing a root commit
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()