diff options
author | Denton Liu <liu.denton@gmail.com> | 2019-12-04 14:03:14 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-12-04 14:25:05 -0800 |
commit | cfe5eda02abddaaeb78c4e8bb31357112f0d5413 (patch) | |
tree | 5781b36c2d74e39ebc57401d40fe43b2f6f66ddd /t/t1400-update-ref.sh | |
parent | t7700: consolidate code into test_no_missing_in_packs() (diff) | |
download | tgif-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/t1400-update-ref.sh')
0 files changed, 0 insertions, 0 deletions