include/got_error.h


Log

Author Commit Date CI Message
Stefan Sperling dc424a06 2019-08-07T17:26:35 initial 'got stage -p' implementation
Stefan Sperling f032f1f7 2019-08-04T14:10:07 fix and test interaction of rebase/histedit -c and 'got stage'
Stefan Sperling f0b75401 2019-08-03T22:55:36 fix out-of-date check regression; only commit staged files after 'got stage'
Stefan Sperling 735ef5ac 2019-08-03T21:35:34 reject staging of out-of-date files
Stefan Sperling ebf48fd5 2019-08-03T20:43:55 handle conflicted files passed to 'got stage'
Stefan Sperling d3e7c587 2019-08-03T17:26:53 handle double-staging
Stefan Sperling 24278f30 2019-08-03T17:16:35 make 'got revert' work with staged files
Stefan Sperling 9acbc4fa 2019-08-03T15:50:08 test 'got rm' behaviour on staged files
Stefan Sperling 916f288c 2019-07-30T11:30:20 prevent 'got commit' on branches outside "refs/heads/" (the only exception is the work tree's temporary histedit branch)
Stefan Sperling ff6aa206 2019-07-25T15:25:52 if histedit has commits to edit, provide a hint in error message
Stefan Sperling 8f8646e5 2019-07-25T12:27:34 list of merged paths for rebase and histedit must not be empty
Stefan Sperling 8ca9bd68 2019-07-25T11:36:03 use a dedicated error code for histedit path-prefix error
Stefan Sperling 0ebf8283 2019-07-23T17:39:43 initial 'got histedit' implementation
Stefan Sperling 64c6d990 2019-07-11T16:37:36 prevent rebase in a work tree with an incompatible path prefix
Stefan Sperling 7d5807f4 2019-07-11T14:57:24 disallow 'got update' and 'got commit' while rebase is in progress
Stefan Sperling 818c7501 2019-07-10T18:23:39 initial 'got rebase' implementation
Stefan Sperling e09a504c 2019-06-28T20:59:14 introduce support for abbreviated object IDs
Stefan Sperling 4e759de4 2019-06-26T09:03:12 add 'got branch' command
Stefan Sperling 5ef14e63 2019-06-02T20:50:34 add 'got backout' command
Stefan Sperling 03415a1a 2019-06-02T20:31:34 allow 'got cherrypick' with a root commit (adds all files in commit)
Stefan Sperling 234035bc 2019-06-01T13:35:47 add 'got cherrypick' command
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 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 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'
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
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 819f385b 2019-05-10T11:16:09 ensure that commits use intended base blobs for changes
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 c4296144 2019-05-07T10:17:36 WIP commit implementation
Stefan Sperling 95edb37e 2019-03-28T23:25:44 add missing error string for GOT_ERR_FILE_OBSTRUCTED
Stefan Sperling 2ec1f75b 2019-03-26T10:35:33 add a basic implementation of 'got rm'
Stefan Sperling 0c48fee2 2019-03-11T18:15:28 refuse to create got worktree at a git repo path
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 09589288 2019-03-10T15:45:07 add got_error_uuid()
Stefan Sperling d1688ce0 2019-02-06T00:08:47 remove a pointless error code
Stefan Sperling 247140b2 2019-02-05T17:15:54 make got_worktree_open() crawl upwards
Stefan Sperling f5d3d7af 2019-02-05T15:19:24 use path lists to sort dirent, tree object, and file index entries
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 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 be7061eb 2018-12-30T17:30:42 ensure that 'got update' stays on the current branch
Stefan Sperling 49520a32 2018-12-29T15:51:56 verify path prefix when checking out into existing work tree
Stefan Sperling 52a74475 2018-12-24T16:46:13 implement got_fileindex_read() - not yet tested
Stefan Sperling 4c838a52 2018-12-23T22:58:50 fix message of GOT_ERR_PRIVSEP_MSG error
Stefan Sperling d1451975 2018-11-11T13:52:20 add custom error code for 'no such tree entry' errors
Stefan Sperling 91a3d81f 2018-11-11T13:41:46 introduce got errors with custom messages; add one for ERR_NO_OBJ
Stefan Sperling 99437157 2018-11-11T12:52:59 abort checkout operations cleanly when Ctrl-C is hit
Stefan Sperling 89817b30 2018-11-11T11:29:19 test for git's "Fix big left-shifts of unsigned char" delta bug
Stefan Sperling 1a76625f 2018-10-22T21:36:39 make 'tog log' use background thread and introduce global mutex
Stefan Sperling 55afbf19 2018-09-08T12:15:13 tweak imsg-related error messages
Stefan Sperling 730c718b 2018-06-21T18:25:45 introduce GOT_ERR_RANGE
Stefan Sperling 9ba79e04 2018-06-11T18:42:04 commit graph support for tog(1)
Stefan Sperling 372ccdbb 2018-06-10T19:01:41 basic commit graph; make 'got log' use it; WIP with known bugs
Stefan Sperling 54be8251 2018-06-04T20:23:59 add an object id set data structure
Stefan Sperling 0c048b15 2018-04-27T11:25:46 offsets in pack files should not make us seek beyond EOF
Stefan Sperling b419fc47 2018-04-26T22:17:43 error out if child dies or does not exit with success
Stefan Sperling 8c580685 2018-04-22T15:40:59 treat unexpected message from unpriv processes as error
Stefan Sperling 2178c42e 2018-04-22T14:51:49 read object headers with privsep
Stefan Sperling 5b7e13a7 2018-04-02T12:46:33 put a limit on delta chain recursion
Stefan Sperling 0c60ce5a 2018-04-02T11:10:05 document the current public API
Stefan Sperling 0a585a0d 2018-03-17T18:13:19 remove GOT_ERR_NO_MEM, we can just use errno in those cases
Stefan Sperling 25783624 2018-03-12T13:59:29 use stricter CPPFLAGS from mpi
Stefan Sperling 9d31a1d8 2018-03-11T20:39:31 initial implementation of worktree checkout
Stefan Sperling 6d9d28c3 2018-03-11T02:03:45 implement worktree open and close operations
Stefan Sperling 09fe317a 2018-03-11T01:33:02 add function to read worktree meta data file
Stefan Sperling 86c3caaf 2018-03-10T00:22:23 add worktree skeleton code; implement got_worktree_init()
Stefan Sperling 59ece79d 2018-02-12T22:13:27 make struct got_object_id opaque
Stefan Sperling 885d3e02 2018-01-27T01:05:56 implement delta combiner and a small test suite for it
Stefan Sperling 96f5e8b3 2018-01-23T13:38:17 add support for delta chains; implement them for offset deltas
Stefan Sperling 3ee5fc21 2018-01-17T22:25:01 add support for extracting non-deltified packed objects
Stefan Sperling a487c1d0 2018-01-14T17:49:25 refactor dump_packed_object() a bit; no functional change
Stefan Sperling 8251fdbc 2018-01-12T23:00:06 introduce got_ferror() and use it
Stefan Sperling f334529e 2018-01-12T21:17:22 add a conversion function from errno to got_error and use it
Stefan Sperling a1fd68d8 2018-01-12T20:59:51 Extract non-deltified objects from pack files.
Stefan Sperling 0ebaf008 2018-01-10T21:56:48 verify pack file index checksum
Stefan Sperling 0a0a3048 2018-01-10T21:15:21 open pack file index
Stefan Sperling 7d283eee 2017-11-29T17:11:11 add and test basic blob diffing functionality
Stefan Sperling d1cda826 2017-11-06T18:53:05 parse commit objects
Stefan Sperling ab9a70b2 2017-11-06T13:49:35 parse object header
Stefan Sperling 7b19e0f1 2017-11-05T13:35:01 add copyright
Stefan Sperling 4027f31a 2017-11-04T19:41:54 initial import; current implementation only parses the .git/HEAD ref