commit 927861745076a7ca31ab93ce23ca92b93a7810d8 from: Stefan Sperling date: Fri Feb 14 09:48:39 2020 UTC make gotweb's summary page display which branch the commit briefs belong to commit - 7ecc73af19d2c370aa43beb6db4157289013aa0c commit + 927861745076a7ca31ab93ce23ca92b93a7810d8 blob - 63acb736979cb3416240e8eb1949c9a2c236605c blob + 6539b900e3b22803508e6487e1770c260a1749f5 --- gotweb/gotweb.c +++ gotweb/gotweb.c @@ -1321,6 +1321,17 @@ gw_summary(struct gw_trans *gw_trans) kerr = khtml_puts(gw_trans->gw_html_req, "Commit Briefs"); if (kerr != KCGI_OK) goto done; + if (gw_trans->headref) { + kerr = khtml_puts(gw_trans->gw_html_req, " ("); + if (kerr != KCGI_OK) + goto done; + kerr = khtml_puts(gw_trans->gw_html_req, gw_trans->headref); + if (kerr != KCGI_OK) + goto done; + kerr = khtml_puts(gw_trans->gw_html_req, ")"); + if (kerr != KCGI_OK) + goto done; + } kerr = khtml_closeelem(gw_trans->gw_html_req, 2); if (kerr != KCGI_OK) goto done;