Commit Diff


commit - 2570478ea08a9ed02591a2cfbad57044dc2a2bf8
commit + cdb914e5a0f172fb2b47056756c143dace8f1977
blob - fc4256759c2d1d43fd996b2ada02eb9fc366ece2
blob + 6593c76079499fdfdc518d7224d06e2fa34b16dd
--- gotweb/files/htdocs/gotweb/gotweb.css
+++ gotweb/files/htdocs/gotweb/gotweb.css
@@ -193,58 +193,73 @@ body {
 #shortlog_wrapper {
 	clear: left;
 	float: left;
-	width: 95%;
+	width: 100%;
+}
+#shortlog_age {
 	padding-left: 10px;
 	padding-top: 5px;
 	padding-bottom: 5px;
-}
-#shortlog_age {
 	float: left;
-	width: 6.5em;
+	width: 7.5em;
+	overflow: auto;
 }
 #shortlog_author {
 	float: left;
+	padding-top: 5px;
+	padding-bottom: 5px;
 	width: 8.5em;
 	font-style: italic;
+	overflow: auto;
 }
 #shortlog_log {
 	float: left;
-	width: 75%;
+	padding-right: 10px;
+	padding-top: 5px;
+	padding-bottom: 5px;
+	width: 65%;
 }
 #tags_wrapper {
 	clear: left;
 	float: left;
-	padding-left: 10px;
-	padding-top: 5px;
-	padding-bottom: 5px;
+	width: 100%;
 }
 #tags_age {
 	float: left;
-	width: 6.5em;
+	width: 7.5em;
+	padding-left: 10px;
+	padding-top: 5px;
+	padding-bottom: 5px;
 }
 #tag {
 	float: left;
 	width: 8.5em;
 	font-style: italic;
+	padding-top: 5px;
+	padding-bottom: 5px;
 }
 #tag_name {
 	float: left;
-	font-weight: bold;
+	padding-right: 10px;
+	padding-top: 5px;
+	padding-bottom: 5px;
 }
 #heads_wrapper {
 	clear: left;
 	float: left;
+	width: 100%;
+}
+#heads_age {
+	float: left;
+	width: 7.5em;
 	padding-left: 10px;
 	padding-top: 5px;
 	padding-bottom: 5px;
 }
-#heads_age {
-	float: left;
-	width: 6.5em;
-}
 #head {
 	float: left;
-	font-weight: bold;
+	padding-right: 10px;
+	padding-top: 5px;
+	padding-bottom: 5px;
 }
 
 /* index.tmpl */
blob - 6f259c4c75957440e44adba0ae36cb8e431da5d9
blob + 0ba9cc13b26a4335693a021bb34188e6a2cb7e32
--- gotweb/gotweb.c
+++ gotweb/gotweb.c
@@ -1289,6 +1289,8 @@ gw_get_repo_shortlog(struct trans *gw_trans, const cha
 			if (cmp != 0)
 				continue;
 		}
+
+		got_ref_list_free(&refs);
 
 		/* commit id */
 		error = got_object_id_str(&id_str, id);
@@ -1342,7 +1344,8 @@ gw_get_repo_shortlog(struct trans *gw_trans, const cha
 			return NULL;
 	}
 
-	got_ref_list_free(&refs);
+	if (search_pattern)
+		regfree(&regex);
 	return shortlog;
 done:
 	if (repo)
blob - 3aef0f4d79721d7d97e6eb21db510584357cc6ff
blob + 4a710632da6fbf66ec0bc3850aa85db8e8b242bc
--- gotweb/gotweb_ui.h
+++ gotweb/gotweb_ui.h
@@ -128,7 +128,7 @@ char *shortlog_row =
 
 char *shortlog_navs =
 	"<a href='?path=%s&action=commit&commit=%s'>commit</a> | " \
-	"<a href='?path=%s&action=commitdiff&commit=%s'>commit diff</a> | " \
+	"<a href='?path=%s&action=commitdiff&commit=%s'>diff</a> | " \
 	"<a href='?path=%s&action=tree&commit=%s'>tree</a> | " \
 	"<a href='?path=%s&action=snapshot&commit=%s'>snapshot</a>";