commit 1ed34e054452b0138551d1ddc0300c9ab7affb4c from: Omar Polo via: Thomas Adam date: Sat Aug 06 20:57:41 2022 UTC sync files from diff.git cd9ef01a441e0ecfd499bf907c15a2878f7e0ee2 commit - aaabf83f2dcb3f5cea3dc1f0227a88c7949e07d4 commit + 1ed34e054452b0138551d1ddc0300c9ab7affb4c 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++;