]> git.ipfire.org Git - thirdparty/git.git/commit
t5538: add tests to confirm deltas in shallow pushes
authorDerrick Stolee <stolee@gmail.com>
Fri, 16 May 2025 18:11:56 +0000 (18:11 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 16 May 2025 19:15:39 +0000 (12:15 -0700)
commit6e95bf80b5066abca85277bd8c142bf36c5fbe0d
tree7789715d57a3f9a55d80afb286f4b521e3571ab3
parent861d4bc2925bfeed44ebb681b88b7baa6652d8a2
t5538: add tests to confirm deltas in shallow pushes

It can be notoriously difficult to detect if delta bases are being
computed properly during 'git push'. Construct an example where it will
make a kilobyte worth of difference when a delta base is not found. We
can then use the progress indicators to distinguish between bytes and
KiB depending on whether the delta base is found and used.

Signed-off-by: Derrick Stolee <stolee@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5538-push-shallow.sh