Code cleanup
Code cleanup
Only rewrite selected commits
Prevent multiple enumeration of commitsToRewrite
only generates a Tree when it's been rewritten
Tags are also references. Let's not special case them
More cleanup
Actually Move the tags and other nitpicky nitpicks