4 years ago b2338effff Stefan Sperling
diff3.c: do not use the same variables for both line numbers and byte offsets
4 years ago 887758148e Stefan Sperling
diff3.c's skip() returns number of bytes skipped so switch from int to size_t
4 years ago 11594751a6 Stefan Sperling
sync distfile list
4 years ago 96cbb59708 Stefan Sperling
remove worklist code; it was only used to unlink files which we already unlink
4 years ago 68bda3b1b9 Stefan Sperling
diff3.c: check for unlink errors and unlink dp13 and dp23 again
4 years ago 9688d20ad6 Stefan Sperling
rename local variable in diff3.c's edscript() from j to len (not a loop index)
4 years ago 9d4a5e899d Stefan Sperling
rename local variable in diff3.c's skip() from j to len (not a loop index)
4 years ago db33008019 Stefan Sperling
remove pointless attempt of unlinking temporary file name template paths
4 years ago e45311301f Stefan Sperling
do not leak open file in diff3.c's readin() error paths
4 years ago 971405a7e4 Stefan Sperling
do not abuse d3s->fp[0] as a local variable in diff3.c's readin()
4 years ago 50351dee7e Stefan Sperling
remove unused 'pr' argument from diff3.c's skip() function
4 years ago f16e404405 Stefan Sperling
explicitly document that 'got ref' expects absolute reference names
4 years ago 24b5452abe Stefan Sperling
show bad reference names in error messages to make such errors more clear
4 years ago d4fc9a6260 Stefan Sperling
in test_ref_create, test creating a new ref based on a commit ID
4 years ago 575e82180a Stefan Sperling
more mechanical conversions to struct got_error: buf_load() and buf_alloc()
4 years ago 63035f9f4f Stefan Sperling
add -w (ignore whitespace) option to 'got diff'
4 years ago e19660d59f Stefan Sperling
some whitespace fixes in diff3.c
4 years ago 346b301a61 Stefan Sperling
check for errors from buf_append() in diff3.c's diff_output()
4 years ago 950435fdd3 Stefan Sperling
remove pointless debug code from diff3.c
4 years ago 18b9ebab6e Stefan Sperling
eflag in diff3.c is hard-coded to 3; remove code for other cases
4 years ago e9dabdfbdb Stefan Sperling
check for errors from fseek(3) in diff3.c's edscript()
4 years ago ce09ab8d7c Stefan Sperling
check for errors from diff_output() in diff3.c
4 years ago 02b87977bd Stefan Sperling
convert remaining functions in diff3.c to struct got_error
4 years ago f571bb8516 Stefan Sperling
convert error handling in diff3.c's repos() to struct got_error
4 years ago 180dce26a8 Stefan Sperling
convert handling in diff3.c's merge() function to struct got_error