projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e7b952
)
GitLogParser.js
author
Alan Knowles
<alan@akbkhome.com>
Wed, 1 Aug 2012 23:42:11 +0000
(07:42 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Wed, 1 Aug 2012 23:42:11 +0000
(07:42 +0800)
GitLogParser.js
patch
|
blob
|
history
diff --git
a/GitLogParser.js
b/GitLogParser.js
index
b4a5cc4
..
1a286d1
100644
(file)
--- a/
GitLogParser.js
+++ b/
GitLogParser.js
@@
-39,6
+39,7
@@
GitLogParser = {
for (var i = 0; i < lines.length; i++) {
var line = lines[i];
var hour = line.start.format('H');
+ var project = line.project;
hours[hour] = (typeof(hours[hour]) == 'undefined') ? {} : hours[hour];
hours[hour][project] = (typeof(hours[project]) == 'undefined') ?
{ total : 0, items : [] }