show diff in commit buffer