projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d75a216
)
GitLogParser.js
author
Alan Knowles
<alan@roojs.com>
Wed, 2 Jan 2013 06:17:13 +0000
(14:17 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 2 Jan 2013 06:17:13 +0000
(14:17 +0800)
GitLogParser.js
patch
|
blob
|
history
diff --git
a/GitLogParser.js
b/GitLogParser.js
index
c9db2bb
..
d29a33a
100644
(file)
--- a/
GitLogParser.js
+++ b/
GitLogParser.js
@@
-62,6
+62,9
@@
GitLogParser = {
if (line.project == 'IDLE' && line.spanMin >= 5 ) {
line.project = 'LONGIDLE';
}
+ if (line.project == 'IDLE' || line.project == 'LONGIDLE') {
+ line.desc = line.project;
+ }
var project = line.project;
hours[hour] = (typeof(hours[hour]) == 'undefined') ? {} : hours[hour];
@@
-70,6
+73,10
@@
GitLogParser = {
: hours[hour][project];
hours[hour][project].total += line.span;
hours[hour][project].items.push(line);
+
+
+
+
}
return hours;