blob b7b46a33c501456351d482a105d25ce4eaa6aee2 359 bytes (raw)
name: devel/author-scan.sh # note: path name is non-authoritative(*)
1
2
3
4
5
6
7
8
9
10
11
| | #!/bin/sh
FILE_EXCLUDE='corpora'
AUTHOR_EXCLUDE='uncrustify'
# based on the FSF guideline, for want of a better idea.
THRESHOLD=15
git ls-files | grep -v "$FILE_EXCLUDE" |
while read f; do
git blame -w --line-porcelain -- "$f" | grep -I '^author ' | grep -v "$AUTHOR_EXCLUDE"
done | sort -fd | uniq -ic | awk "\$1 >= $THRESHOLD" | sort -nr
|
debug log:
solving b7b46a33 ...
found b7b46a33 in https://yhetil.org/notmuch/20200603160743.1449796-1-david@tethera.net/
applying [1/1] https://yhetil.org/notmuch/20200603160743.1449796-1-david@tethera.net/
diff --git a/devel/author-scan.sh b/devel/author-scan.sh
new file mode 100644
index 00000000..b7b46a33
Checking patch devel/author-scan.sh...
Applied patch devel/author-scan.sh cleanly.
index at:
100644 b7b46a33c501456351d482a105d25ce4eaa6aee2 devel/author-scan.sh
(*) Git path names are given by the tree(s) the blob belongs to.
Blobs themselves have no identifier aside from the hash of its contents.^
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).