Git SHA1 is too long for table columns, so just display the first six characters

This commit is contained in:
Beman Dawes
2014-01-03 21:00:00 -05:00
parent b3fdeeca66
commit c2ace2188c

View File

@@ -477,7 +477,7 @@ void boost::regression::insert_runners_rows(html_writer& document,
BOOST_FOREACH(test_structure_t::platform_t::const_reference run, platform.second) {
if(run.toolsets.size() > 0) {
document << " <td colspan=\"" << run.toolsets.size() << "\" class=\"revision\">\n"
" rev " << run.revision << "\n"
" rev " << run.revision.substr(0, 6) << "\n"
" </td>\n";
}
}