Commits


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


check malloc failure in collect_commit_logmsg()


avoid undefined behaviour (comparison with string literal)


fix linear ancestry verification check for 'got update'


add got_commit_graph_find_youngest_common_ancestor()


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


fix leftover lockfiles from parse_ref_file()


fix locking of packed ref file in got_ref_open()


handle well-known refs more obviously in got_ref_open()


don't hide errors in got_ref_open()


be less clever: don't nest 'case' inside if (...) no functional change


plug fd leak in got_path_dir_is_empty()


heed API namespace: got_dir_is_empty -> got_path_dir_is_empty