[Starlingx-discuss] Heat map question from the community call

Scott Little scott.little at windriver.com
Wed Oct 30 14:54:46 UTC 2019


To identify frequently changing files within a git

e.g. Changes per file within stx-tools since Jan 1 2019, high runners at 
top of the list...

cd stx-tools

for sha in $(git log --since "Jan 1 2019" --pretty=format:"%H"); do
     git diff-tree --no-commit-id --name-only -r $sha
done | sort | uniq -c | sort -nr

42 centos-mirror-tools/rpms_centos.lst
22 centos-mirror-tools/tarball-dl.lst
14 centos-mirror-tools/rpms_centos3rdparties.lst
9 Dockerfile
...





More information about the Starlingx-discuss mailing list