3 # Copyright (c) 2018 Johannes Schindelin
6 test_description='git pack-object with "large" deltas
10 . "$TEST_DIRECTORY"/lib-pack.sh
12 # Two similar-ish objects that we have computed deltas between.
13 A=01d7713666f4de822776c7622c10f1b07de280dc
14 B=e68fe8129b546b101aee9510c5328e7f21ca1d18
16 test_expect_success 'setup' '
23 pack_trailer ab.pack &&
24 git index-pack --stdin <ab.pack
27 test_expect_success 'repack large deltas' '
28 printf "%s\\n" $A $B |
29 GIT_TEST_OE_DELTA_SIZE=2 git pack-objects tmp-pack