projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
88cdfe5
)
GitLogParser.js
author
Alan Knowles
<alan@roojs.com>
Wed, 2 Jan 2013 06:19:08 +0000
(14:19 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 2 Jan 2013 06:19:08 +0000
(14:19 +0800)
GitLogParser.js
patch
|
blob
|
history
diff --git
a/GitLogParser.js
b/GitLogParser.js
index
de22d57
..
293bfab
100644
(file)
--- a/
GitLogParser.js
+++ b/
GitLogParser.js
@@
-195,7
+195,7
@@
for (var h in res) {
for (var p in res[h]) {
if (p == 'LONGIDLE') {
var idletime = Math.floor(res[h][p].total/60000) ;
for (var p in res[h]) {
if (p == 'LONGIDLE') {
var idletime = Math.floor(res[h][p].total/60000) ;
- print(h + ' ' + Math.floor(res[h][p].total/60000) +'m LONGIDLE' );
+
//
print(h + ' ' + Math.floor(res[h][p].total/60000) +'m LONGIDLE' );
totals.idle += idletime;
totals.idle += idletime;
@@
-203,7
+203,7
@@
for (var h in res) {
}
if (p == 'IDLE') {
var idletime = Math.floor(res[h][p].total/60000) ;
}
if (p == 'IDLE') {
var idletime = Math.floor(res[h][p].total/60000) ;
- print(h + ' ' + Math.floor(res[h][p].total/60000) +'m SHORT IDLE' );
+
//
print(h + ' ' + Math.floor(res[h][p].total/60000) +'m SHORT IDLE' );
totals.shortidle += idletime;
totals.shortidle += idletime;
@@
-211,7
+211,7
@@
for (var h in res) {
}
}
- print(h + ' ' + Math.floor(res[h][p].total/60000) +'m ' + p );
+
//
print(h + ' ' + Math.floor(res[h][p].total/60000) +'m ' + p );
totals.work += Math.floor(res[h][p].total/60000) ;
for (var k in res[h][p].items) {
totals.work += Math.floor(res[h][p].total/60000) ;
for (var k in res[h][p].items) {