We have a project with around 500,000 lines of code, managed with git, much of it several years old. We're about to make a series of modifications to bring the older code into conformance with the developer community's current standards and best practices, with regards to naming conventions, exception handling, indentation, and so forth.
You can think of it as something between pretty printing and low level/mechanical refactoring.
This process is likely to touch almost every line of code in the code base (~85%), and some lines will be subject to as many as five modifications. All of the changes are intended to be semantically neutral.
I don't know how best to deal with some of the more invasive changes you're describing, but...
The -w
option to git blame
, git diff
, and others causes git to ignore changes in whitespace, so you can more easily see the real differences.