Fix diff file dialog wrong parse commit when change input