They're the same. 
Originally, we imagined the views for these different actions might be different, but found both cases were useful: when committing, you often want to browse diffs, and including the commit textbox in the diff dialog didn't detract from the overall experience much.
Hence, one view for two actions.