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.

treat code crime scene

treat code crime scene 2

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

Popular posts from this blog

python - Installing PyDev in eclipse is failed -

PHP OOP-based login system -

c# - Nested Internal Class with Readonly Hashtable throws Null ref exception.. on assignment -