Name |
Last commit
|
Last update |
---|---|---|
.. | ||
add.c | ||
addall.c | ||
bypath.c | ||
cache.c | ||
collision.c | ||
conflicts.c | ||
conflicts.h | ||
crlf.c | ||
filemodes.c | ||
inmemory.c | ||
names.c | ||
nsec.c | ||
racy.c | ||
read_index.c | ||
read_tree.c | ||
rename.c | ||
reuc.c | ||
stage.c | ||
tests.c | ||
version.c |
The new index entry structure was not being initialized to all-zeroes. As that structure is used to add a new entry to the current index, and the hashing algorithm of the index making use of the uninitialized flags to calculate the state, we might miscompute the hash of the entry and add it at the wrong position. Later lookups would then fail. Initialize the structure with `memset` to fix the test breaking on some platforms.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
add.c | Loading commit data... | |
addall.c | Loading commit data... | |
bypath.c | Loading commit data... | |
cache.c | Loading commit data... | |
collision.c | Loading commit data... | |
conflicts.c | Loading commit data... | |
conflicts.h | Loading commit data... | |
crlf.c | Loading commit data... | |
filemodes.c | Loading commit data... | |
inmemory.c | Loading commit data... | |
names.c | Loading commit data... | |
nsec.c | Loading commit data... | |
racy.c | Loading commit data... | |
read_index.c | Loading commit data... | |
read_tree.c | Loading commit data... | |
rename.c | Loading commit data... | |
reuc.c | Loading commit data... | |
stage.c | Loading commit data... | |
tests.c | Loading commit data... | |
version.c | Loading commit data... |