Commits


mark many functions and structs static in got.c and tog.c


move common diff helpers from got and tog into lib/diff.c


fix typo in blob read buffer size in diff_blobs()


cosmetic output tweaks


fix double-tree in cmd_checkout()


try to infer repository path from work tree


read object headers with privsep


got log: do a first-parent commit traversal instead of N-parent Running 'got log' on a repository with merge commits shows that this code isn't ready to handle merge commits yet. It printed many commits multiple times and used up a lot of memory.


clean up commit list in print_commits() regardless of error


clean up commit list in print_commits() after any error in the loop


rename 'refs' to 'reference'


make 'got log' show the committer if different from author


replace use of err() with got_error_from_errno()


apply realpath() to all paths in argv; fix some leaks


make paths shown during checkout match what is created on disk