git.shiar.nl
/
barcat.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
replace perl in example date parsing
[barcat.git]
/
barcat
diff --git
a/barcat
b/barcat
index 2a7bdbf2c08ee9b7edfeea8d8fb36e83248ae553..c2f41aa97c9365debb63be1ebdfd8d3b5003d19d 100755
(executable)
--- a/
barcat
+++ b/
barcat
@@
-391,9
+391,8
@@
Or the top 3 most frequent authors with statistics over all:
Activity of the last days:
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}' |
+ ( git log --pretty=%ci --since=30day | cut -b-10
+ seq 0 30 | xargs -i date +%F -d-{}day ) |
sort | uniq -c | awk '$1--' | graph
=head1 AUTHOR
sort | uniq -c | awk '$1--' | graph
=head1 AUTHOR