Name |
Last commit
|
Last update |
---|---|---|
.. | ||
addall.c | ||
conflicts.c | ||
filemodes.c | ||
inmemory.c | ||
names.c | ||
read_tree.c | ||
rename.c | ||
reuc.c | ||
stage.c | ||
tests.c |
This adds some tests for updating the index and having it remove items to make sure that the iteration over the index still works even as earlier items are removed. In testing with valgrind, this found a path that would use the path string from the index entry after it had been freed. The bug fix is simply to copy the path of the index entry before doing any actual index manipulation.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
addall.c | Loading commit data... | |
conflicts.c | Loading commit data... | |
filemodes.c | Loading commit data... | |
inmemory.c | Loading commit data... | |
names.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... |