Name |
Last commit
|
Last update |
---|---|---|
.. | ||
blob.c | ||
diff_helpers.c | ||
diff_helpers.h | ||
diffiter.c | ||
index.c | ||
iterator.c | ||
patch.c | ||
rename.c | ||
tree.c | ||
workdir.c |
It is not legal inside our `p_mmap` function to mmap a zero length file. This adds a test that exercises that case inside diff and fixes the code path where we would try to do that. The fix turns out not to be a lot of code since our default file content is already initialized to "" which works in this case. Fixes #1210
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
blob.c | Loading commit data... | |
diff_helpers.c | Loading commit data... | |
diff_helpers.h | Loading commit data... | |
diffiter.c | Loading commit data... | |
index.c | Loading commit data... | |
iterator.c | Loading commit data... | |
patch.c | Loading commit data... | |
rename.c | Loading commit data... | |
tree.c | Loading commit data... | |
workdir.c | Loading commit data... |