Generate diff output based on the source of before and after with patch, summary