projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b451a8
)
GitLogParser.js
author
Alan Knowles
<alan@roojs.com>
Mon, 3 Apr 2017 03:43:27 +0000
(11:43 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 3 Apr 2017 03:43:27 +0000
(11:43 +0800)
GitLogParser.js
patch
|
blob
|
history
diff --git
a/GitLogParser.js
b/GitLogParser.js
index
186f68c
..
14712e2
100644
(file)
--- a/
GitLogParser.js
+++ b/
GitLogParser.js
@@
-261,7
+261,7
@@
for (var desc in totals) {
hsum.push({ desc : desc, tot : totals[desc] });
}
hsum.sort(function(a,b) { if (a.tot == b.tot) { return 0; } return a.tot < b.tot ? 1 : -1 });
-print("\n\nDay Total
(" + htot +')'
);
+print("\n\nDay Total
"
);
hsum.forEach(function(r) {
print (" " + (r.tot.toFixed(2)*1) + " : " + r.desc);
});