commit - 21a55cc70cc604c478163f380e5040d337276ca4
commit + 87ca24acee90c090249dd4e354491950479531bd
blob - 0df44fe764664a170fcbb4cae9264baa0a0291b9
blob + f232ec2041c71409aefb827816288937fd605184
--- gotweb/gotweb.c
+++ gotweb/gotweb.c
{
return (memchr(buf, '\0', n) != NULL);
}
-
static const struct got_error *
gw_blame(struct gw_trans *gw_trans)
if (error)
goto done;
- /*
- * XXX: Convert all of these from kerr
- */
TAILQ_FOREACH(n_header, &gw_trans->gw_headers, entry) {
error = gw_get_time_str(&age, n_header->committer_time,
TM_DIFF);
} else
ref_str = strdup("");
-
if (asprintf(&return_html, header_commit_html, str1, ref_str) == -1)
return_html = strdup("");
KATTR_ID, "header_committer_title", KATTR__MAX);
if (kerr != KCGI_OK)
goto done;
+ kerr = khtml_puts(gw_trans->gw_html_req, "Committer: ");
if (kerr != KCGI_OK)
goto done;
kerr = khtml_closeelem(gw_trans->gw_html_req, 1);
error = buf_puts(&newsize, diffbuf, tag_row);
if (error)
goto done;
-
+
if (limit && --limit == 0)
break;