Allow the diff showing in the log command if patch modified by edit