make gotweb's summary page display which branch the commit briefs belong to
diff --git a/gotweb/gotweb.c b/gotweb/gotweb.c
index 63acb73..6539b90 100644
--- a/gotweb/gotweb.c
+++ b/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;