Name |
Last commit
|
Last update |
---|---|---|
.. | ||
blob.c | ||
diff_helpers.c | ||
diff_helpers.h | ||
diffiter.c | ||
drivers.c | ||
index.c | ||
iterator.c | ||
notify.c | ||
patch.c | ||
pathspec.c | ||
rename.c | ||
submodules.c | ||
tree.c | ||
workdir.c |
This allows git_diff_patch_size to account for hunk headers and file headers in the returned size. This required some refactoring of the code that is used to print file headers so that it could be invoked by the git_diff_patch_size API. Also this increases the test coverage and fixes an off-by-one bug in the size calculation when newline changes happen at the end of the file.
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... | |
drivers.c | Loading commit data... | |
index.c | Loading commit data... | |
iterator.c | Loading commit data... | |
notify.c | Loading commit data... | |
patch.c | Loading commit data... | |
pathspec.c | Loading commit data... | |
rename.c | Loading commit data... | |
submodules.c | Loading commit data... | |
tree.c | Loading commit data... | |
workdir.c | Loading commit data... |