Commits


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


remove blob css


remove html from blob output


add gw_blob to increase the usefulness of gw_tree


alternate color of tree lines to prepare for blob/blame conversion


missing error check in gw_display_index()


introduce gw_display_error so gw_display_index doesn't have double-duty


call khtml_close() in gw_display_index() even when an error occurred


free all the things allocated by gw_summary() in one place


simplify error return from pledge failure in gw_summary


allow callers of gw_get_repo_age to tell which error occured, if any


don't use stdbool.h


call strdup("") instead of asprintf(&var, "")


remove superfluous braces around asprintf calls


just return 0 instead of EXIT_SUCCESS


prevent a NULL deref in gw_get_commits()


ensure that the result of gw_init_header() is always freed


plug memory leaks on error in gw_tag()


plug memory leaks on error in gw_tree()


plug memory leaks on error in gw_briefs()


plug memory leaks on error in gw_commits()


perform the check for an empty histedit commit list earlier