Commit Diff


commit - f2b0a8b0a1881cbc7388392deaa518caf38be151
commit + 528c17ddfb50dc3e1efdba2fcfec0bff8a1f2c01
blob - 47ddd48ca251a920a6562265a2746e94e9df8ad5
blob + be1e9bf1dfdb2efc4b2b139be32285d1519c4a3c
--- tog/tog.c
+++ tog/tog.c
@@ -3341,7 +3341,7 @@ open_diff_view(struct tog_view *view, struct got_objec
 		}
 
 		err = add_color(&s->colors,
-		    "^(commit|(blob|file) [-+] |[MDmA]  [^ ])",
+		    "^(commit [0-9a-f]|(blob|file) [-+] |[MDmA]  [^ ])",
 		    TOG_COLOR_DIFF_META,
 		    get_color_value("TOG_COLOR_DIFF_META"));
 		if (err) {