- Change the binary file format in repos to support arbitrary hash algorithms, in a way which unambigously makes old software fail.
- Increment the Git major version number to 3.0
- Make the new version support both the old version repos and the new ones. Make it a per-repo config item that allows/disallows old/new hash formats. In theory, there's nothing wrong with having objects hashed with mixed algorithms as long as the software knows how to deal with that.
- The old format will probably have to be supported forever because of Linux.
Most user-facing utilities don't care what the hash algo actually is, they just use the hash as an opaque string.