Commits


add copyright year for files already touched in 2020


simplify got_commit_graph_open()


remove GOT_ERR_ITER_NEED_MORE; the commit graph now fetches internally instead


convert tree entries from SIMPLEQ to an array


add cancellation support to commit graph and 'got blame'


remove unused variable in blame_commit()


fix and simplify blame algorithm Always diff against latest version of file. This is much easier since there is no need to keep track of lines shifting around.


remove pointless offset variable in get_blamed_line()


fix blame bug where lines got annotated with wrong commit


fix number of lines accounted for during blame


make blame go through first parent history; add more blame test cases


rename got_blame_incremental() to got_blame()


remove got_blame() API, now unused


fix blame with single-commit history and with files without \n


fix build on OpenBSD/sparc64 (gcc)


implement search for 'tog blame'


rename got_error_prefix_errno() to got_error_from_errno()


while (1) -> for (;;)


got_error_from_errno -> got_error_prefix_errno also add got_error_prefix_errno2 and got_error_prefix_errno3 which should hopefully all be merged into a single function with variadic args (but can't alloc mem)


check for errors from fclose()


remove struct got_object from public library API


stop history traversal once blame has annotated all lines


store number of lines in int instead of size_t


don't abort blame in annotate_line() if lines are out of range


add custom error code for 'no such tree entry' errors