Commit Briefs

cc43886eb4 Stefan Sperling

improve wording of an error message


df056ada35 Stefan Sperling

introduce got_error_path()


196d54c7a4 Stefan Sperling

define message for error code GOT_ERR_DIR_NOT_EMPTY



638f902404 Stefan Sperling

rename got_error_prefix_errno() to got_error_from_errno()


d5bea53959 Stefan Sperling

fix linear ancestry verification check for 'got update'


33ad4cbe59 joshua stein

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


2af4a04192 joshua stein

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


230a42bdc6 joshua stein

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)



819f385b20 Stefan Sperling

ensure that commits use intended base blobs for changes



35bd8fed48 Stefan Sperling

require GOT_AUTHOR environment variable


b249b824fb Stefan Sperling

add APIs to change references


c429614457 Stefan Sperling

WIP commit implementation


95edb37e3f Stefan Sperling

add missing error string for GOT_ERR_FILE_OBSTRUCTED


2ec1f75bbb Stefan Sperling

add a basic implementation of 'got rm'


0c48fee25c Stefan Sperling

refuse to create got worktree at a git repo path


f77a24b036 Stefan Sperling

validate ref names


01b7ba6b73 Stefan Sperling

add a lockfile API


095892882c Stefan Sperling

add got_error_uuid()


d1688ce089 Stefan Sperling

remove a pointless error code


247140b282 Stefan Sperling

make got_worktree_open() crawl upwards



a808cfa5a7 Stefan Sperling

add GOT_ERR_BAD_REF_DATA