Fixed a problem with sha_index when do diff after write file