include/got_error.h


Log

Author Commit Date CI Message
Stefan Sperling 257add31 2020-09-09T23:57:40 add got.conf(5) configuration file ok tracey
Stefan Sperling 35213c7c 2020-07-23T14:22:39 forbid bad symlinks; add -S option to 'got commit' and 'got stage' to allow them
Tracey Emery fb863fa4 2020-06-22T15:06:23 get a parser in place for the future inclusion of gotconfig to git repos this is for got push and got fetch, primarily ok stsp
Stefan Sperling 0d6c6ee3 2020-05-20T17:37:29 make 'got/tog tree' show symlink targets like 'ls -lF' does: link@ -> target
Stefan Sperling f7b97ccb 2020-04-14T11:37:39 normalize tree entry modes to 0100644 or 0100755 when writing tree objects semarie@ reported an error from go-git used by Cirrus CI: "57243613255d758e15b0f5ae1c960b970f0435f8: malformed mode (0100640)!" 'git fsck' has no problem with mode 0100640. But writing just the two most commonly used file modes should provide the best compatibility.
Stefan Sperling 678ade17 2020-03-22T15:44:34 don't error out if rebase sees no merged paths; elide the commit instead
Stefan Sperling 0e4002ca 2020-03-21T21:49:13 add support for fetching arbitrary references to 'got clone' and 'got fetch'
Stefan Sperling 659e7fbd 2020-03-20T15:55:08 fetch only HEAD branch and tags by default; add -a option to fetch everything
Stefan Sperling 7848a0e1 2020-03-19T16:57:27 implement 'got fetch'
Stefan Sperling fe53745c 2020-03-18T16:11:30 convert readn and readpkt to struct got_error
Stefan Sperling abd4a1be 2020-03-18T16:10:32 move new errors codes to end of error code list
Stefan Sperling 5cc27ede 2020-03-18T16:10:32 make protocol dial helpers return struct got_error style errors
Stefan Sperling 93658fb9 2020-03-18T16:10:30 Add initial support for network protocol. Ported from git9 by Ori Bernstein.
Stefan Sperling de05890f 2020-03-05T10:53:53 fix histedit 'rebase commit ID mismatch' error when splitting a commit Commit IDs on histedit's temporary branch can change arbitrarily because the user may create new commits on this branch while editing past commits. So there is no point in trying to verify these IDs like we do during rebase. Add a test case which demonstrates the problem.
Stefan Sperling 61a7d79f 2020-02-29T08:05:11 remove GOT_ERR_NOT_ABSPATH and fix existing users to deal with absolute paths
Tracey Emery 9f33591a 2020-02-14T22:26:09 check required querystring commit exists for gw_tags
Stefan Sperling e1a68182 2020-01-07T17:49:17 fix pack index cache; don't open/close pack index files needlessly
Stefan Sperling 5aa81393 2020-01-06T19:38:23 add copyright year for files already touched in 2020
Stefan Sperling 3d509237 2020-01-04T18:25:28 simplify got_commit_graph_open()
Stefan Sperling ee780d5c 2020-01-04T15:44:13 remove GOT_ERR_ITER_NEED_MORE; the commit graph now fetches internally instead
Stefan Sperling e51d7b55 2020-01-04T08:35:17 prevent rebase with an out-of-date work tree
Stefan Sperling cd95becd 2019-11-29T02:46:04 parse remotes from gitconfig
Stefan Sperling bd5895f3 2019-11-28T05:06:55 Outright forbid reference names with a leading '-'. Matches behaviour documented in git-repository(5).
Stefan Sperling 6d17833f 2019-11-08T13:10:36 add color support to 'tog diff'
Stefan Sperling 2822a352 2019-10-15T11:38:27 add 'got integrate' command
Stefan Sperling aba9c984 2019-09-08T17:14:34 obtain repo format version and commit author name/email from .git/config
Stefan Sperling cc483380 2019-09-01T13:08:13 fix NULL deref in got_error_from_errno via got_error_uuid (found by jasper)
Stefan Sperling 8e7bd50a 2019-08-22T22:20:56 initial implementation of 'got tag' command
Stefan Sperling 84792843 2019-08-09T12:31:18 attempt to reject GOT_AUTHOR values without an email address
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