Commit Briefs

5aa813935b Stefan Sperling

add copyright year for files already touched in 2020


3d5092374a Stefan Sperling

simplify got_commit_graph_open()



56e0773df7 Stefan Sperling

convert tree entries from SIMPLEQ to an array


6fb7cd117f Stefan Sperling

add cancellation support to commit graph and 'got blame'


d0275cf721 Stefan Sperling

remove unused variable in blame_commit()


4c9641fdb6 Stefan Sperling

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.


d0c4e49e83 Stefan Sperling

remove pointless offset variable in get_blamed_line()


548237bca5 Stefan Sperling

fix blame bug where lines got annotated with wrong commit


b02560eced Stefan Sperling

fix number of lines accounted for during blame



0d8ff7d595 Stefan Sperling

rename got_blame_incremental() to got_blame()


e27a7222fa Stefan Sperling

remove got_blame() API, now unused



a0de39f397 Stefan Sperling

fix build on OpenBSD/sparc64 (gcc)


6c4c42e07c Stefan Sperling

implement search for 'tog blame'


638f902404 Stefan Sperling

rename got_error_prefix_errno() to got_error_from_errno()


656b1f76d3 joshua stein

while (1) -> for (;;)


230a42bdc6 joshua stein

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)


fb43ecf150 Stefan Sperling

check for errors from fclose()


15a949835c Stefan Sperling

remove struct got_object from public library API


06ca4d0918 Stefan Sperling

stop history traversal once blame has annotated all lines


6fcac4576a Stefan Sperling

store number of lines in int instead of size_t



d14519756a Stefan Sperling

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