Commit Briefs

6e472abb21 Stefan Sperling

fix a segfault in got_ref_open()


a60a9dc46f joshua stein

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


c3e9aa982c joshua stein

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



aedda007f3 Stefan Sperling

make open_ref() tolerate missing reference dirs and files



314a6357a2 Stefan Sperling

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.


0868043076 Stefan Sperling

mention where code for got_path_find_prog() came from


0ee7065d8d Stefan Sperling

make 'got commit' look up EDITOR in PATH

The previous code only worked if EDITOR contained an absolute path.


23594da913 Stefan Sperling

document new got commit features



3809565b92 Stefan Sperling

missing error check in apply_unveil()


baf4288fe4 Stefan Sperling

tog: don't clear diff view contents when indicating diff progress

this is much easier on the eyes when moving through diffs


82751bc5e5 Stefan Sperling

fix typo in error message and improve indentation


638f902404 Stefan Sperling

rename got_error_prefix_errno() to got_error_from_errno()




cc5481cb03 Stefan Sperling

remove pointless goto in collect_commit_logmsg()


fcde04d9ac Stefan Sperling

another malloc failure check in collect_commit_msg()


793c30b5d7 Stefan Sperling

use got_opentemp_named_fd() in collect_commit_logmsg()


9f42ff692b Stefan Sperling

check malloc failure in collect_commit_logmsg()


19332e6de6 Stefan Sperling

avoid undefined behaviour (comparison with string literal)


d5bea53959 Stefan Sperling

fix linear ancestry verification check for 'got update'


a9833bc916 Stefan Sperling

add got_commit_graph_find_youngest_common_ancestor()


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