Skip to content

Commit 9293bf6

Browse files
committed
Merge branch 'jk/add-ignore-errors-bit-assignment-fix'
A hotfix to an incomplete fix made earlier. * jk/add-ignore-errors-bit-assignment-fix: add_to_index(): convert forgotten HASH_RENORMALIZE check
2 parents fe8e686 + e2c2a37 commit 9293bf6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

read-cache.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,7 @@ int add_to_index(struct index_state *istate, const char *path, struct stat *st,
744744
if (ignore_case) {
745745
adjust_dirname_case(istate, ce->name);
746746
}
747-
if (!(flags & HASH_RENORMALIZE)) {
747+
if (!(flags & ADD_CACHE_RENORMALIZE)) {
748748
alias = index_file_exists(istate, ce->name,
749749
ce_namelen(ce), ignore_case);
750750
if (alias &&

0 commit comments

Comments
 (0)