diff options
author | Shawn O. Pearce <spearce@spearce.org> | 2011-03-04 18:56:16 -0800 |
---|---|---|
committer | Shawn O. Pearce <spearce@spearce.org> | 2011-03-04 18:56:16 -0800 |
commit | 4e187d898aac18c705b3ab6699745c6460e82ae6 (patch) | |
tree | 7f981177bb68784215ca558610a4bc76adc59933 /org.eclipse.jgit.http.test/tst/org/eclipse/jgit | |
parent | 8f0d55e334d75a67fcbd7e331156c6e6fcc538e6 (diff) | |
download | jgit-4e187d898aac18c705b3ab6699745c6460e82ae6.tar.gz jgit-4e187d898aac18c705b3ab6699745c6460e82ae6.zip |
PackFile: Fix copy as-is for small objects
When I disabled validation I broke the code that handled copying small
objects whose contents were below 8192 bytes in size but spanned over
the end of one window and into the next window. These objects did not
ever populate the temporary write buffer, resulting in garbage writing
into the output stream instead of valid object contents.
Change-Id: Ie26a2aaa885d0eee4888a9b12c222040ee4a8562
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'org.eclipse.jgit.http.test/tst/org/eclipse/jgit')
0 files changed, 0 insertions, 0 deletions