lib


Log

Author Commit Date CI Message
Stefan Sperling 3ce1b845 2019-07-14T18:59:53 initial 'got import' implementation
Stefan Sperling e2b1e152 2019-07-13T11:00:34 make 'got update' sync cached timestamps of unmodified files
Stefan Sperling fd7a136d 2019-07-13T10:31:11 remove duplicate check in if-statement
Stefan Sperling 01757395 2019-07-12T19:40:57 speed up commits during rebase by caching a list of merged paths
Stefan Sperling 1ee397ad 2019-07-12T19:06:56 allow error return from got_worktree_checkout_cb()
Stefan Sperling eb3df2c4 2019-07-12T16:42:30 prevent free(3) of uninitialized variable in rebase error path
Stefan Sperling b50cabdf 2019-07-12T16:36:21 skip out-of-dateness check during rebase for faster commits
Stefan Sperling 877a927c 2019-07-12T16:26:05 fix typo in comments
Stefan Sperling 93ec1b5f 2019-07-12T16:10:16 remove unused argument from update_fileindex_after_commit()
Stefan Sperling 69185643 2019-07-12T16:09:08 remove unused variable in commit_worktree()
Stefan Sperling a0e95631 2019-07-12T16:07:35 use the new commit_worktree() helper function during rebase
Stefan Sperling 1675efa3 2019-07-12T16:07:03 fix double-free introduced during refactoring
Stefan Sperling 39cd0ff6 2019-07-12T15:31:21 move core commit code from got_worktree_commit() to a helper function
Stefan Sperling 347d1d3e 2019-07-12T15:04:27 eliminate redundant fileindex open for status during commit and rebase -a
Stefan Sperling 55bd499d 2019-07-12T14:53:13 don't open file index earlier than needed when aborting rebase
Stefan Sperling ca355955 2019-07-12T14:51:33 oops, sync fileindex again after aborting rebase
Stefan Sperling 267fb255 2019-07-12T14:45:56 revert local changes before checking out files when aborting a rebase
Stefan Sperling a3a2faf2 2019-07-12T14:44:11 use checkout_files() helper in got_worktree_rebase_abort()
Stefan Sperling 711d9cd9 2019-07-12T14:39:07 eliminate a pointless goto in worktree.c
Stefan Sperling 07ed472d 2019-07-12T14:37:39 move core functionality of got_worktree_checkout_files() to a helper
Stefan Sperling 6ced4176 2019-07-12T14:20:33 move a chunk of file checkout code into a separate helper function
Stefan Sperling e642f803 2019-07-12T13:01:51 don't leak redundantly allocated relpath in got_worktree_checkout_files()
Stefan Sperling fb399478 2019-07-12T12:46:29 plug fileindex_path memory leaks
Stefan Sperling 5ade8233 2019-07-12T12:33:38 eliminate potential got_fileindex_free(NULL) calls
Stefan Sperling 3605a814 2019-07-12T12:31:34 eliminate inline implementations of open_fileindex() in worktree.c
Stefan Sperling 8ec7bf54 2019-07-12T12:09:39 refactor file index syncing out of update_fileindex_after_commit()
Stefan Sperling 10796104 2019-07-12T01:36:02 unsigned char casts for isspace()
Stefan Sperling 787c8eb6 2019-07-11T22:40:44 fix extra whitespace in rebased log messages Trim leading and trailing whitespace from log messages when creating commits. Fixes a rebase issue but should be a good idea in general.
Stefan Sperling 69844fba 2019-07-11T15:18:52 ensure all rebase-related refs get deleted when rebase is done
Stefan Sperling edd02c5e 2019-07-11T14:22:42 bump fileindex base commit IDs after rebasing a commit
Stefan Sperling ff0d2220 2019-07-11T13:59:20 handle no-op changes during 'got rebase -c'
Stefan Sperling 2840f715 2019-07-11T12:57:15 new realpath(3) doesn't like receiving an empty path as input
Stefan Sperling 818c7501 2019-07-10T18:23:39 initial 'got rebase' implementation
Stefan Sperling 2b496619 2019-07-10T22:41:08 fix bug exposed by test_commit_added_and_modified_in_same_dir
Stefan Sperling aaf88317 2019-07-10T18:08:23 introduce got_ref_alloc_symref() and got_ref_get_symref_target()
Stefan Sperling 1ab61ced 2019-07-10T16:33:43 use absolute path for reference in got/worktree namespace
Stefan Sperling 950a4a90 2019-07-10T15:22:52 use got_fileindex_free() to free a fileindex structure
Stefan Sperling 52d1d0d9 2019-07-07T18:07:51 fix bug where match_loose_object() skipped some objects
Stefan Sperling 561c3678 2019-07-02T11:48:15 fix detection of ambiguous object ID match with pack files
Stefan Sperling 0adc7bcc 2019-06-29T23:28:23 call got_object_id_queue_free() instead of implementing it inline
Stefan Sperling dd88155e 2019-06-29T23:26:36 disambiguate abbreviated object IDs based on object type
Stefan Sperling 83c8b3b8 2019-06-29T22:40:42 plug leaks in got_repo_match_object_id_prefix()
Stefan Sperling b2df341b 2019-06-29T22:37:52 put error checks in right order
Stefan Sperling 5903ff6e 2019-06-29T22:36:44 stop matching loose objects once we've searched past the ID prefix
Stefan Sperling 4277420a 2019-06-29T12:58:30 speed up matching of abbreviated commit IDs in pack files
Stefan Sperling e09a504c 2019-06-28T20:59:14 introduce support for abbreviated object IDs
Stefan Sperling d69bcdf7 2019-06-28T19:44:24 compare pointer against NULL, not 0
Stefan Sperling 2246482e 2019-06-25T12:27:42 make search actually work in 'tog blame'
Stefan Sperling 6c4c42e0 2019-06-24T22:28:11 implement search for 'tog blame'
Stefan Sperling 2c7829a4 2019-06-17T14:15:05 implement 'got init'
Stefan Sperling 102ff934 2019-06-11T11:59:18 don't report 'base bumped' status if base is up-to-date
Stefan Sperling a484d721 2019-06-10T12:10:37 don't report base-bump-only updates as 'already up to date'
Stefan Sperling 1a36436d 2019-06-10T11:58:32 relax out-of-dateness check for 'got commit'
Stefan Sperling 46b6ee73 2019-06-04T20:59:48 rename some variables
Stefan Sperling af12c6b9 2019-06-04T16:49:20 ensure that file index is synced to disk in case of errors
Stefan Sperling e20a8b6f 2019-06-04T16:35:01 allow multiple file path arguments for 'got revert'
Stefan Sperling 07f5b47a 2019-06-02T21:30:22 don't leak 'relpath' memory in got_worktree_schedule_add()
Stefan Sperling 17ed4618 2019-06-02T21:24:17 allow removing multiple paths at once for 'got rm'
Stefan Sperling 03415a1a 2019-06-02T20:31:34 allow 'got cherrypick' with a root commit (adds all files in commit)
Stefan Sperling a8db5ed8 2019-06-02T18:39:00 remove unused fields from struct merge_file_cb_arg
Stefan Sperling 2b92fad7 2019-06-02T17:52:19 test and fix expected file status after 'got cherrypick'
Stefan Sperling 9c6338c4 2019-06-02T17:10:29 introduce sync_fileindex() helper in worktree.c
Stefan Sperling 234035bc 2019-06-01T13:35:47 add 'got cherrypick' command
Stefan Sperling aaa13589 2019-06-01T15:25:13 generalize got_diff_tree() by adding a diff output callback
Stefan Sperling 1de5e065 2019-06-01T14:44:21 use got_object_tree_find_entry() instead of local copy in diff.c
Stefan Sperling 5e54fb30 2019-05-31T14:57:57 test and fix 'got revert' with a path in a sub-directory Relax input path requirements of got_object_id_by_path() to make things easier to callers. Allows the revert code to pass a path from the file index in lieu of a repository path.
Stefan Sperling f6d88e1a 2019-05-29T14:45:50 fix lack of NUL termination of a path; bug exposed by new realpath(3)
Stefan Sperling 79c99a64 2019-05-23T22:24:13 don't leak objects which can't be cached
Stefan Sperling ff563a3d 2019-05-23T21:04:23 replace got_pack_get_packfile_size() with simple fstat()
Stefan Sperling 57377f07 2019-05-23T14:50:57 stat .idx file to determine its size, not the .pack file
joshua stein 0d0c539e 2019-05-22T10:43:30 got_opentemp_named: include path in error message
Stefan Sperling 01cd7614 2019-05-22T14:06:03 add cache debug output for too large elements
Stefan Sperling a60c9e77 2019-05-22T13:48:28 don't cache objects larger than 1MB
Stefan Sperling 6331840f 2019-05-22T13:06:33 fix got_error_from_errno() arguments in inflate.c
Stefan Sperling da506691 2019-05-22T13:00:28 set_max_datasize() should be a static function
Stefan Sperling b3a605ce 2019-05-22T12:58:40 no need to zero memory in got_inflate_to_mem_mmap()
Stefan Sperling f2c5fe0e 2019-05-22T12:58:26 no need to zero memory in got_inflate_to_mem_fd()
Stefan Sperling 691332dd 2019-05-22T12:54:45 increase GOT_INFLATE_BUFSIZE (trades memory usage for speed)
Stefan Sperling 6dc3b75a 2019-05-22T12:54:14 no need to zero memory in got_inflate_to_mem()
Stefan Sperling b48e2ddb 2019-05-22T12:31:30 set datasize limit of got-read-pack helpers to maximum
Stefan Sperling 1a35c1bc 2019-05-22T11:48:27 fix double-frees in error path when resolving deltas fails
Stefan Sperling c932eeeb 2019-05-22T10:25:50 make 'got update' bump the base commit ID of unchanged files This change makes it actually possible to get around commit-time out-of-dateness by running 'got update'. The test added with this commit shows that our out-of-dateness check is currently too simplistic; an update is required between any two commit operations! It would be better to allow commits to proceed until a situation arises where file content must be merged.
Stefan Sperling 8cbe5809 2019-05-21T11:08:12 plug /dev/null file descriptor leaks in diffreg.c
Stefan Sperling 8656d6c4 2019-05-20T16:31:38 make struct got_commitable opaque to library users
Stefan Sperling a3df2849 2019-05-20T16:02:16 fix bug reproduced by xfail test 'test_commit_added_subdirs'
Stefan Sperling 7d45c7f1 2019-05-15T07:31:58 error.c: use <limits.h> instead of <sys/param.h>
Stefan Sperling df056ada 2019-05-15T07:27:06 introduce got_error_path()
Stefan Sperling 2ee32b23 2019-05-15T07:09:37 fix build with -DGOT_OBJ_CACHE_DEBUG
Stefan Sperling f6912001 2019-05-15T06:51:55 spawn more pack file helpers again now that leaks got fixed /usr/src updates have become slower for some reason and my best guess is that caching of packed data has become less effective with df613bb4d8662c28a9888714a80ca572bff9d924 (leaks were subsequently fixed by 2cb49fa8fb84f3a8fc2eb6036a6bd9b64c57e347 and by 0dd5271bd8f2a4f92ac3536fcc493eebc39b86e5)
Stefan Sperling 024e9686 2019-05-14T13:22:16 add branch support to 'got update'
Stefan Sperling 08573d5b 2019-05-14T12:16:51 add branch support to 'got checkout'
Stefan Sperling b416585c 2019-05-13T18:19:59 store file's base commit ID in got_commitable and use it for OOD check
Stefan Sperling 016a88dd 2019-05-13T18:02:39 report base commit of fileindex entries to status callback
Stefan Sperling c4e12a88 2019-05-13T17:52:58 rename got_commitable's 'base_id' to 'base_blob_id'; more obvious
Stefan Sperling 0f148cb7 2019-05-13T17:28:57 revert c191ed664f6c437ebc3e0c859c53e48b445401f1 'got ref' should only work with naked ref names; implicitly putting things into 'refs/heads' is a job for something like a 'got branch' command.
Stefan Sperling 6e472abb 2019-05-13T17:27:39 fix a segfault in got_ref_open()
Stefan Sperling aedda007 2019-05-13T17:09:11 make open_ref() tolerate missing reference dirs and files
Stefan Sperling c191ed66 2019-05-13T17:08:16 allow single-component reference names with got_ref_alloc()
Stefan Sperling 08680430 2019-05-13T13:59:50 mention where code for got_path_find_prog() came from
Stefan Sperling 0ee7065d 2019-05-13T13:56:40 make 'got commit' look up EDITOR in PATH The previous code only worked if EDITOR contained an absolute path.