I have been tasked with figuring out how many lines of code I've written this year. Not very exciting for a number of reasons, but it seems like it could make a nice SO question.
So in your favorite version control tool, how do you tell how many lines of code have been modified? In my particular answer blank lines and comments happen to count to simplify the time allotted to determining the answer, but feel free to elaborate.
In my particular case I'm using svn, so I'm going to get rid of all the --- and other misc output that svn log and svn diff output.
If you are stuck on cvs:
http://jamesjava.blogspot.com/2007/01/who-has-changed-most-lines-in-cvs.html
The simplest solution:
this is very rudimentary and does not exclude blank line inserts and so on, but perhaps it's good enough?