diff options
author | Mike Hommey <mh@glandium.org> | 2018-07-01 06:41:06 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-07-06 09:46:12 -0700 |
commit | 9d14ecf39dc70cd2d2cf639d873b8e2c7f039d11 (patch) | |
tree | f3375968de6fbe5a439f73214767da69bccc77f4 /t/t9101-git-svn-props.sh | |
parent | Second batch for 2.19 cycle (diff) | |
download | tgif-9d14ecf39dc70cd2d2cf639d873b8e2c7f039d11.tar.xz |
fast-import: do not call diff_delta() with empty buffer
We know diff_delta() returns NULL, saying "no good delta exists for
it", when fed an empty data. Check the length of the data in the
caller to avoid such a call.
This incidentally reduces the number of attempted deltification we
see in the final statistics.
Signed-off-by: Mike Hommey <mh@glandium.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9101-git-svn-props.sh')
0 files changed, 0 insertions, 0 deletions