Commits


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


update help string of 'got add' for multiple file support


heed API namespace: got_dir_is_empty -> got_path_dir_is_empty


checkout: if worktree path exists and is empty, suppress mkdir failure


lock branch reference file during 'got commit' to prevent a race


got add's file path argument is not optional


update 'got add' documentation


open the file index just once when adding multiple files


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: support adding multiple files at a time make adding files already in the file-index not a fatal error


while (1) -> for (;;)


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)


strip trailing slashes from more paths passed by command line


fix -r option of 'got log'


introduce got_path_strip_trailing_slashes()


fix checkout to non-existing directories in parents other than /tmp


strip all trailing slashes from work tree path, not just first one


got: remove trailing slash from worktree_path avoids a double slash when building a path in got_worktree_init


stop caching head ref's value in struct got_worktree; may become stale


update commit command's description


fix usage_commit()


require GOT_AUTHOR environment variable


report commit item status


write commit objects


WIP commit implementation