diffing post history rewrite with pre history rewrite