summaryrefslogtreecommitdiff
path: root/tests/diff/diffiter.c
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2013-11-02 18:36:34 +0100
committerCarlos Martín Nieto <cmn@dwim.me>2013-11-02 18:54:55 +0100
commita7a64d2cadade53175ba27c1a29023278bdc4288 (patch)
tree8023e83e9cb0d12416f6dfdc5abadc9aa01e7fe4 /tests/diff/diffiter.c
parent187009e253efa54f6db690a16504adf7f2c32d17 (diff)
downloadlibgit2-a7a64d2cadade53175ba27c1a29023278bdc4288.tar.gz
remote: don't write too much when dealing with multivars
We used to move `data_start` forward, which is wrong as that needs to point to the beginning of the buffer in order to perform size calculations. Introduce a `write_start` variable which indicates where we should start writing from, which is what the `data_start` was being wrongly reused to be.
Diffstat (limited to 'tests/diff/diffiter.c')
0 files changed, 0 insertions, 0 deletions