projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5c609c
)
GitLogParser.js
author
Alan Knowles
<alan@roojs.com>
Sat, 2 Mar 2013 05:18:24 +0000
(13:18 +0800)
committer
Alan Knowles
<alan@roojs.com>
Sat, 2 Mar 2013 05:18:24 +0000
(13:18 +0800)
GitLogParser.js
patch
|
blob
|
history
diff --git
a/GitLogParser.js
b/GitLogParser.js
index
ef4eebc
..
2ac28b8
100644
(file)
--- a/
GitLogParser.js
+++ b/
GitLogParser.js
@@
-247,7
+247,7
@@
for (var h in GitLogParser.shours) {
hsum.push({ desc : desc, tot : (GitLogParser.shours[h][desc]/60000).toFixed(2)*1 })
}
hsum.sort(function(a,b) { if (a.tot == b.tot) { return 0; } return a.tot < b.tot ? 1 : -1 });
- print(h+': Total (' + htot +')');
+ print(
"\n\n" +
h+': Total (' + htot +')');
hsum.forEach(function(r) {
print (" " + r.tot + " : " + r.desc);
});