git.shiar.nl
/
barcat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
315b1f4
)
additional git example for date history
author
Mischa POSLAWSKY
<perl@shiar.org>
Mon, 9 Sep 2019 16:56:36 +0000
(18:56 +0200)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Mon, 9 Sep 2019 22:37:53 +0000
(
00:37
+0200)
Simplified version of a longtime alias of mine.
barcat
patch
|
blob
|
history
diff --git
a/barcat
b/barcat
index c1e1d079ce40d75a5cf04a5a68fd499d222a2cd7..2a7bdbf2c08ee9b7edfeea8d8fb36e83248ae553 100755
(executable)
--- a/
barcat
+++ b/
barcat
@@
-389,6
+389,13
@@
Or the top 3 most frequent authors with statistics over all:
git shortlog -sn | barcat -L3 -s
+Activity of the last days:
+
+ git log --pretty=%cd --date=format:%F --since=1month |
+ perl -MTime::Piece -pE
+ 'for ($t //= localtime; $t->ymd gt $_; $t -= 24*60*60) {say $t->ymd}' |
+ sort | uniq -c | awk '$1--' | graph
+
=head1 AUTHOR
Mischa POSLAWSKY <perl@shiar.org>