git - How to find number of commits done to a file across a repository -
i looking @ video "treat code crime scene".
http://www.infoq.com/presentations/code-bugs-legacy-pitfalls
inorder know complexity of code says find the number of commits done on each file.this means file need more maintainance. how find hotspot guy done in video.
this between 13:20 - 14:20 in video.
following "how count number of commits per file pathname author in git repository?", can start with:
git log --name-only --pretty=format: | sort | uniq -c | sort
the sorted list spot files a lot of commits.
Comments
Post a Comment