Commits


report base commit of fileindex entries to status callback


rename got_commitable's 'base_id' to 'base_blob_id'; more obvious


tog man page: fix lists of single-line scrolling keys


update 'got ref' branch creation example


revert c191ed664f6c437ebc3e0c859c53e48b445401f1 'got ref' should only work with naked ref names; implicitly putting things into 'refs/heads' is a job for something like a 'got branch' command.


fix a segfault in got_ref_open()


tog: implement ctrl+f/b for diff view, sync man page


tog: at eof in diff view, print (END) like less does


make it possible to duplicate another reference with 'got ref'


make open_ref() tolerate missing reference dirs and files


allow single-component reference names with got_ref_alloc()


got commit can't use unveil with an editor Theo says unveil(2) is supposed to traverse exec(2) (though this seems to be broken or not implemented at present). In which case the commmit message editor would find itself without access to files it needs (startup config files, shared libs, user's home dir, etc.) Apply unveil after the log message has been written.


mention where code for got_path_find_prog() came from


make 'got commit' look up EDITOR in PATH The previous code only worked if EDITOR contained an absolute path.


document new got commit features


apply_unveil() doesn't call err(3) so rename 'error' to 'err'


missing error check in apply_unveil()


tog: don't clear diff view contents when indicating diff progress this is much easier on the eyes when moving through diffs


fix typo in error message and improve indentation


rename got_error_prefix_errno() to got_error_from_errno()


store commit message in work tree and leave it there in case of error


reenable unveil for 'got commit'; keep spawn_editor() working


remove pointless goto in collect_commit_logmsg()


another malloc failure check in collect_commit_msg()


use got_opentemp_named_fd() in collect_commit_logmsg()