Commits


improve error checking in in gw_get_diff() and use getline(3) to read lines


support strings of arbitrary length in gw_html_escape(); add XXX comment


HTML-escape errors displayed by gw_display_error()


let gw_get_file_read_blob() worry about blob content; caller handles the rest


use separate functions for blaming vs. reading a blob


make gw_get_file_blame_blob() return a got_error


improve error handling, and plug some memleaks, related to repo age strings


read repository owner name with gitconfig parser instead of a hand-rolled one


improve error handling for gw_get_clone_url()


fix fread(3) error check added in previous commit


proper error handling for gw_get_repo_description()


replace improperly removed break


add missed error catching in gotweb


goto done and remove erroneous break


typo


enable searching in tog diff view ok stsp


ignore EROFS during checkout for repositories on read-only filesystems


prepare local variable in open_diff_view and close_diff_view for diff view searching ok stsp


in gotweb, use the same binary file detection heuristic as grep(1); ok tracey


prevent null folder in blame hash link


add link to blame hash for blob of that commit


add conditional variable assignment operator to CHROOT_DIR


whoops, add back leading slash


stop compounding slashes on folder path


attempt to detect non-plain-text blob and download as file instead, otherwise display plain text in browser