diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2015-11-04 10:36:50 -0800 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2016-03-22 20:00:24 +0100 |
commit | 35e68606da5978f8e9ccdbd01194354583ddf021 (patch) | |
tree | f3879d5d8ae296d450049d61f69a6deb34923887 /tests/diff/blob.c | |
parent | 0a5c6028898e637544962c2c6b1ef8eeeb9c1d38 (diff) | |
download | libgit2-35e68606da5978f8e9ccdbd01194354583ddf021.tar.gz |
blob: fix fromchunks iteration counter
By returning when the count goes to zero rather than below it, setting
`howmany` to 7 in fact writes out the string 6 times.
Correct the termination condition to write out the string the amount of
times we specify.
Diffstat (limited to 'tests/diff/blob.c')
0 files changed, 0 insertions, 0 deletions