From c2ace2188cee79b67c43652f5bce7241cf63ec8c Mon Sep 17 00:00:00 2001 From: Beman Dawes Date: Fri, 3 Jan 2014 21:00:00 -0500 Subject: [PATCH] Git SHA1 is too long for table columns, so just display the first six characters --- src/report/common.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/report/common.cpp b/src/report/common.cpp index 9c15372..e0e81ce 100644 --- a/src/report/common.cpp +++ b/src/report/common.cpp @@ -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 << " \n" - " rev " << run.revision << "\n" + " rev " << run.revision.substr(0, 6) << "\n" " \n"; } }