Commits


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()