projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4553392
)
GitLogParser.js
author
Alan Knowles
<alan@roojs.com>
Fri, 28 Apr 2017 02:45:14 +0000
(10:45 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 28 Apr 2017 02:45:14 +0000
(10:45 +0800)
GitLogParser.js
patch
|
blob
|
history
diff --git
a/GitLogParser.js
b/GitLogParser.js
index
8b4896f
..
5125189
100644
(file)
--- a/
GitLogParser.js
+++ b/
GitLogParser.js
@@
-332,7
+332,9
@@
for (var h in GitLogParser.shours) {
hsum.sort(function(a,b) { if (a.tot == b.tot) { return 0; } return a.tot < b.tot ? 1 : -1 });
print("\n\n" + h+': Total (' + htot +')');
hsum.forEach(function(r) {
hsum.sort(function(a,b) { if (a.tot == b.tot) { return 0; } return a.tot < b.tot ? 1 : -1 });
print("\n\n" + h+': Total (' + htot +')');
hsum.forEach(function(r) {
- print (" " + r.tot + " : " + (r.project == "Unknown" ? "???" : '') + r.desc);
+ var pr = GitLogParser.match_project(r.desc) == "Unknown" ? '???' : '';
+
+ print (" " + r.tot + " : " + pr + r.desc);
});
}
});
}