diff options
author | Jonathan Tan <jonathantanmy@google.com> | 2020-05-19 11:31:51 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-05-19 16:09:16 -0700 |
commit | 293194c9f9b03d84f327067888ee0a747109d61c (patch) | |
tree | aaa9ab60bee1bc33e4f01e42b8179a3b1b271e74 /repository.c | |
parent | diff: restrict when prefetching occurs (diff) | |
download | tgif-293194c9f9b03d84f327067888ee0a747109d61c.tar.xz |
t4067: make rename detection test output raw diff
95acf11a3d ("diff: restrict when prefetching occurs", 2020-04-07) taught
diff to prefetch blobs in a more limited set of situations. These
limited situations include when the output format requires blob data,
and when inexact rename detection is needed.
There is an existing test case that tests inexact rename detection, but
it also uses an output format that requires blob data, resulting in the
inexact-rename-detection-only code not being tested. Update this test to
use the raw output format, which does not require blob data.
Thanks to Derrick Stolee for noticing this lapse in code coverage and
for doing the preliminary analysis [1].
[1] https://lore.kernel.org/git/853759d3-97c3-241f-98e1-990883cd204e@gmail.com/
Signed-off-by: Jonathan Tan <jonathantanmy@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'repository.c')
0 files changed, 0 insertions, 0 deletions