We have a code review process in place where a developer sends out a patch file with his changes to the team. After reviewing it, he is instructed to commit or make changes and resend.
How can we ensure that what has been "committed" is exactly what has been "approved" - i.e., if he makes subsequent changes without approval and commits those, how can I detect those?
I have the original 'patch file' at my end, but:
- How can I 'generate' something similar between the two committed versions and
- Is it viable to compare those two files?