summaryrefslogtreecommitdiff
path: root/t/t5507-remote-environment.sh
diff options
context:
space:
mode:
authorLibravatar Denton Liu <liu.denton@gmail.com>2019-12-04 14:03:14 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-12-04 14:25:05 -0800
commitcfe5eda02abddaaeb78c4e8bb31357112f0d5413 (patch)
tree5781b36c2d74e39ebc57401d40fe43b2f6f66ddd /t/t5507-remote-environment.sh
parentt7700: consolidate code into test_no_missing_in_packs() (diff)
downloadtgif-cfe5eda02abddaaeb78c4e8bb31357112f0d5413.tar.xz
t7700: consolidate code into test_has_duplicate_object()
The code to test that objects were not duplicated from the packfile was duplicated many times. Extract the duplicated code into test_has_duplicate_object() and use that instead. Refactor the resulting extraction so that if the git command fails, the return code is not silently lost. Signed-off-by: Denton Liu <liu.denton@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5507-remote-environment.sh')
0 files changed, 0 insertions, 0 deletions