commit 1c5fbba37ab2b1654ee4f163b4f3012a8142b5a1 from: Omar Polo date: Wed Aug 03 07:10:42 2022 UTC sync files from diff.git cd9ef01a441e0ecfd499bf907c15a2878f7e0ee2 commit - d7c808b798d30921f53b27c8789f3449e86bc8d8 commit + 1c5fbba37ab2b1654ee4f163b4f3012a8142b5a1 blob - 79d9633bdaa73ce679a74c04294b35271c5374f7 blob + dd6b2aa9dd850690d77fb00149d2331f76b827e3 --- lib/diff_atomize_text.c +++ lib/diff_atomize_text.c @@ -143,7 +143,7 @@ diff_data_atomize_text_lines_mmap(struct diff_data *d) while (line_end < end && *line_end != '\r' && *line_end != '\n') { if (!ignore_whitespace || !isspace(*line_end)) - hash = hash * 23 + *line_end; + hash = diff_atom_hash_update(hash, *line_end); if (*line_end == '\0') embedded_nul = true; line_end++;