scripts: two scripts to determine copyright holder of files
This commit is contained in:
1 parent
4146f6a792
commit
8510d9e697
5 files changed
+268
No files matched your search
Executable
+6
@@ -0,0 +1,6 @@
|
||||
#! /bin/sh
|
||||
d=$(dirname $0)
|
||||
for i in "$@"; do
|
||||
if [ $# -gt 1 ]; then echo "$i:"; fi
|
||||
git blame --date="format:%Y%m%d" -M -C -C -C "$i" | sed 's/[^(]*(\([^0-46-9]*\) \([0-9]*\).*/\2 \1/' | $d/authors | sort | uniq -c | sort -rn
|
||||
done
|
||||
Reference in new issue
Block a user