views:

38

answers:

2

I want to keep a record how many changes do I make to my source code in terms of LOC.

For example, let's say I have a directory with sources/header files, etc. I need a tool that shows me

  • what files are changed
  • How many LOC are modified (changed/removed/added)

since my last check point.

What tool does that for me? If there is no tool out there, what would be the way to do that?

I think about making a script using ruby/python to run diff to generate the change list to be analyzed.

What do you think?

+1  A: 

You can use source control tools for this (like SVN,CVS,GIT,Mercural,TFS) for this. When you check in you code. It will display witch files are changed and what lines are different.

Ivo
I guess I can use 'svn log' for this purposes.
prosseek
+1  A: 

Why not use a source control system? It would give you all this and much more. Using something like git definitely provides these features.

Philip Fourie