From 7a5aec9e0fdb72bac87bee190327ae31f58b0aa2 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 2 Aug 2012 07:54:09 +0800 Subject: [PATCH] GitLogParser.js --- GitLogParser.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/GitLogParser.js b/GitLogParser.js index 758291c9..06500595 100644 --- a/GitLogParser.js +++ b/GitLogParser.js @@ -148,11 +148,10 @@ for (var h in res) { print(h + ' ' + res[h][p].total/60000 +'m IDLE' ); continue; } - print(h + ' ' + res[h][p].total/60000 +'m ' + p ); break; - print("hp?"+JSON.stringify(res[h][p])); - + print(h + ' ' + res[h][p].total/60000 +'m ' + p ); + for (var k in res[h][p].items) { - print(JSON.stringify(res[h][p].items[k])); + print( ' ' + res[h][p].items[k].span/60000 +'m ' + res[h][p].items[k].line ); } -- 2.39.2