Commits


changes for 0.26


fix gotweb build on sparc64; the old linker wants to see -lz after -lkcgi


make gotweb's install target respect DESTDIR for the devel/got port


make tmp dir location a compile-time setting and change gotweb's tmp dir We are not sure whether a gotweb package can own /var/www/tmp on OpenBSD. Moving gotweb's tmp dir to /var/www/got/tmp sidesteps that issue.


remove needless file and folder parameters from blame's commit diff links


improve error message when query contains an invalid repo name


got_ref_get_name() cannot fail


don't use got_error_from_errno() in situations where errno was not set


add missing error check in gw_output_blob_buf()


free missed n_header refs


check for correct opendir


improve closedir error handling


close potentially left open directory during an error condition


apply unveil earlier in gw_summary, instead of waiting on gw_briefs


document the new search feature in tog's diff view


handle commit briefs branch display in gw_briefs instead of gw_summary


improve gw_blame querystring checking. remove XXX comments, since repo_file is now checked before dumping blob


improve gw_blob querystring checking


check required querystring commit exists for gw_tags


rename commit to commit_id in gw_trans and fix setting gw_trans->commit_id from gw_index leave comment explaining this


initialize author and committer to prevent double free on error


where we can, use a single open repo object to reduce opening and closing a repo


further simplify objects carries around in struct gw_header


simplify getting commit header info and open and close in scope discussed at length with stsp


add a test which ensures that 'got rebase' trims empty dirs from disk