projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3667fd2
)
GitLogParser.js
author
Alan Knowles
<alan@akbkhome.com>
Wed, 1 Aug 2012 23:43:47 +0000
(07:43 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Wed, 1 Aug 2012 23:43:47 +0000
(07:43 +0800)
GitLogParser.js
patch
|
blob
|
history
diff --git
a/GitLogParser.js
b/GitLogParser.js
index
0608efb
..
abf096d
100644
(file)
--- a/
GitLogParser.js
+++ b/
GitLogParser.js
@@
-43,7
+43,7
@@
GitLogParser = {
hours[hour] = (typeof(hours[hour]) == 'undefined') ? {} : hours[hour];
hours[hour][project] = (typeof(hours[hour][project]) == 'undefined') ?
{ total : 0, items : [] }
- : hours[project];
+ : hours[
hour][
project];
hours[hour][project].total += line.span;
hours[hour][project].items.push(line);
}