run_diff_files(): clarify computation of sha1 validity