include


Log

Author Commit Date CI Message
Stefan Sperling 2b92fad7 2019-06-02T17:52:19 test and fix expected file status after 'got cherrypick'
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 a1fb16d8 2019-05-24T14:51:46 make moved branch head references easier to deal with
Stefan Sperling 79c99a64 2019-05-23T22:24:13 don't leak objects which can't be cached
Stefan Sperling cc43886e 2019-05-22T15:28:17 improve wording of an error message
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 df056ada 2019-05-15T07:27:06 introduce got_error_path()
Stefan Sperling 196d54c7 2019-05-15T07:15:27 define message for error code GOT_ERR_DIR_NOT_EMPTY
Stefan Sperling a367ff0f 2019-05-14T14:23:00 make 'got update' verify that provided commit and branch match
Stefan Sperling 024e9686 2019-05-14T13:22:16 add branch support to 'got update'
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 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.
Stefan Sperling 638f9024 2019-05-13T12:40:57 rename got_error_prefix_errno() to got_error_from_errno()
Stefan Sperling d5bea539 2019-05-13T10:56:28 fix linear ancestry verification check for 'got update'
Stefan Sperling a9833bc9 2019-05-13T10:56:15 add got_commit_graph_find_youngest_common_ancestor()
joshua stein 33ad4cbe 2019-05-12T19:53:17 implement spawning an editor to collect a commit message bails on empty messages, trims leading and trailing newlines this currently disables the unveil in the commit process because it's not compatible with spawning the editor also prevent commits when there are no changes
Stefan Sperling 280f921b 2019-05-12T15:30:43 heed API namespace: got_dir_is_empty -> got_path_dir_is_empty
joshua stein 3c45a30a 2019-05-12T14:56:24 checkout: if worktree path exists and is empty, suppress mkdir failure
Stefan Sperling 2f17228e 2019-05-11T21:18:39 lock branch reference file during 'got commit' to prevent a race
Stefan Sperling 1dd54920 2019-05-11T18:50:57 open the file index just once when adding multiple files
joshua stein 2af4a041 2019-05-11T16:21:20 got_error_set_errno: take a char arg to pass to got_error_prefix_errno $> got rm a got: : No such file or directory becomes $> got rm a got: /path/to/a: No such file or directory
joshua stein 230a42bd 2019-05-11T13:04:38 got_error_from_errno -> got_error_prefix_errno also add got_error_prefix_errno2 and got_error_prefix_errno3 which should hopefully all be merged into a single function with variadic args (but can't alloc mem)
joshua stein 48b8b0eb 2019-05-11T10:40:57 error: introduce got_error_prefix_errno for better errno messages
Stefan Sperling 72151b04 2019-05-11T09:37:08 introduce got_path_strip_trailing_slashes()
Stefan Sperling 324d37e7 2019-05-11T09:14:30 make got path APIs available to library consumers
Stefan Sperling 36a38700 2019-05-10T14:53:03 stop caching head ref's value in struct got_worktree; may become stale
Stefan Sperling 819f385b 2019-05-10T11:16:09 ensure that commits use intended base blobs for changes
Stefan Sperling bc70eb79 2019-05-09T15:45:21 fix bug in concurrent commit check and add another commit test
Stefan Sperling 09f5bd90 2019-05-09T15:33:57 try to detect concurrent commits; not perfect yet (see comments)
Stefan Sperling 35bd8fed 2019-05-09T14:57:06 require GOT_AUTHOR environment variable
Stefan Sperling b249b824 2019-05-09T13:47:59 add APIs to change references
Stefan Sperling afa376bf 2019-05-08T19:18:45 report commit item status
Stefan Sperling de18fc63 2019-05-08T18:37:37 write commit objects
Stefan Sperling c4296144 2019-05-07T10:17:36 WIP commit implementation
Stefan Sperling c4cdcb68 2019-04-03T16:17:53 add support for partial updates, which affect specific paths only
Stefan Sperling a129376b 2019-03-29T00:04:52 add initial implementation of 'got revert'
Stefan Sperling 95edb37e 2019-03-28T23:25:44 add missing error string for GOT_ERR_FILE_OBSTRUCTED
Stefan Sperling 031a5338 2019-03-26T10:46:18 make got_worktree_schedule_add() report 'added' via status_cb
Stefan Sperling 2ec1f75b 2019-03-26T10:35:33 add a basic implementation of 'got rm'
Stefan Sperling d00136be 2019-03-26T09:03:53 implement a basic 'got add' command
Stefan Sperling 6c34b1aa 2019-03-18T17:25:10 whitespace formatting fixes in include/
Stefan Sperling 6c7ab921 2019-03-18T16:48:18 introduce got_worktree_resolve_path()
Stefan Sperling 0c48fee2 2019-03-11T18:15:28 refuse to create got worktree at a git repo path
Stefan Sperling e2e879a0 2019-03-11T16:58:21 introduce got_ref_list_free() and use it in got and tog
Stefan Sperling 2d2e1378 2019-03-11T16:34:33 add got_ref_delete(); only loose refs supported for now
Stefan Sperling 9e672c74 2019-03-11T14:56:04 implement got_ref_write()
Stefan Sperling f77a24b0 2019-03-11T14:20:46 validate ref names
Stefan Sperling 01b7ba6b 2019-03-11T11:36:40 add a lockfile API
Stefan Sperling 5892cdd6 2019-03-10T16:17:12 introduce got_ref_alloc()
Stefan Sperling 09589288 2019-03-10T15:45:07 add got_error_uuid()
Stefan Sperling 3a6ce05a 2019-02-11T12:32:53 check for errors from close(2)
Stefan Sperling fb43ecf1 2019-02-11T11:59:09 check for errors from fclose()
Stefan Sperling 927df6b7 2019-02-10T18:42:29 allow restricting 'got diff' and 'got status' to a path in work tree
Stefan Sperling 276262e8 2019-02-08T15:27:19 fix typo in status code name: GOT_STATUS_MODIFIY -> GOT_STATUS_MODIFY
Stefan Sperling 6353ad76 2019-02-08T15:12:00 make 'got update' merge file edits
Stefan Sperling d1688ce0 2019-02-06T00:08:47 remove a pointless error code
Stefan Sperling b72f483a 2019-02-06T00:04:59 make 'got diff' show local changes in work tree
Stefan Sperling c7f4312f 2019-02-05T17:46:58 make 'got status' work in subdirectories of a work tree
Stefan Sperling 247140b2 2019-02-05T17:15:54 make got_worktree_open() crawl upwards
Stefan Sperling 0dbc2271 2019-02-05T16:16:13 make 'got status' detect obstructed files
Stefan Sperling f5d3d7af 2019-02-05T15:19:24 use path lists to sort dirent, tree object, and file index entries
Stefan Sperling f8d1f275 2019-02-04T14:46:17 add a worktree status API
Stefan Sperling a808cfa5 2019-02-03T17:07:55 add GOT_ERR_BAD_REF_DATA
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 0bd18d37 2019-02-01T22:16:47 add potentially useful helpers for tag objects and refs
Stefan Sperling fb79db15 2019-02-01T21:01:58 add read support for packed refs
Stefan Sperling 5d56da81 2019-01-13T17:15:53 happy new copyright year
Stefan Sperling 27793341 2019-01-12T18:58:04 introduce special error code for a corrupt file index
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 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 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 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 271d2a38 2018-12-25T15:38:24 store parsed head reference in struct got_worktree
Stefan Sperling 93a30277 2018-12-24T20:11:47 make got_worktree_checkout_files() infer base commit from meta data
Stefan Sperling 52a74475 2018-12-24T16:46:13 implement got_fileindex_read() - not yet tested
Stefan Sperling 54156555 2018-12-24T10:58:32 undo commit timestamps next to paths in diffs; they are redundant
Stefan Sperling adacb96f 2018-12-24T10:39:46 show commit timestamps in diff headers
Stefan Sperling 4c838a52 2018-12-23T22:58:50 fix message of GOT_ERR_PRIVSEP_MSG error
Stefan Sperling 7b390526 2018-12-23T15:01:48 document UTF-8 API functions
Stefan Sperling 5a3026e5 2018-12-23T14:57:57 remove obsolete statements from API docs
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 450eaa8b 2018-12-23T12:12:12 typos
Stefan Sperling 2df4e4ff 2018-12-23T12:11:34 mention that commit timestamps are UTC in API docs
Stefan Sperling 45d799e2 2018-12-23T12:10:27 make commit objects opaque in the library's API
Stefan Sperling 6fcac457 2018-11-19T10:05:28 store number of lines in int instead of size_t