diff options
author | wh <wh9692@protonmail.com> | 2020-12-17 18:14:32 +0000 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2021-02-19 17:34:04 -0500 |
commit | a14455dfd7ac61e13f2ea8c7d789463efd8eeb72 (patch) | |
tree | c4a01dae625b733c4add4831f543785e6240406f /org.eclipse.jgit.gpg.bc/src | |
parent | 27fbd8bf5691ffd300f1da505da5e52faa378771 (diff) | |
download | jgit-a14455dfd7ac61e13f2ea8c7d789463efd8eeb72.tar.gz jgit-a14455dfd7ac61e13f2ea8c7d789463efd8eeb72.zip |
dfs: handle short copies
`copy` is documented as possibly returning a smaller number of bytes
than requested. In practice, this can occur if a block is cached and the
reader never pulls in the file to check its size.
Bug: 565874
Change-Id: I1e53b3d2f4ab09334178934dc0ef74ea99045cd3
Signed-off-by: wh <wh9692@protonmail.com>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.jgit.gpg.bc/src')
0 files changed, 0 insertions, 0 deletions