Commits


rename got_error_prefix_errno() to got_error_from_errno()


fix linear ancestry verification check for 'got update'


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


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


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)


error: introduce got_error_prefix_errno for better errno messages


ensure that commits use intended base blobs for changes


try to detect concurrent commits; not perfect yet (see comments)


require GOT_AUTHOR environment variable


add APIs to change references


WIP commit implementation


add missing error string for GOT_ERR_FILE_OBSTRUCTED


add a basic implementation of 'got rm'


refuse to create got worktree at a git repo path


validate ref names


add a lockfile API


add got_error_uuid()


remove a pointless error code


make got_worktree_open() crawl upwards


use path lists to sort dirent, tree object, and file index entries


add GOT_ERR_BAD_REF_DATA


add got_error_not_ref()


happy new copyright year


introduce special error code for a corrupt file index


ensure that 'got update' stays on the current branch