aboutsummaryrefslogtreecommitdiffstats
path: root/t/lib-submodule-update.sh
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2020-07-29 23:14:28 +0000
committerJunio C Hamano <gitster@pobox.com>2020-07-30 09:16:49 -0700
commite023ff0691ca207d421a0e75ea23c132ada9142a (patch)
tree442aa0f3908245f1ea02f3dc92efe200b6c315d4 /t/lib-submodule-update.sh
parent4feb562fc93184b427413b077301c99e71af5a75 (diff)
downloadgit-e023ff0691ca207d421a0e75ea23c132ada9142a.tar.gz
t: remove test_oid_init in tests
Now that we call test_oid_init in the setup for all test scripts, there's no point in calling it individually. Remove all of the places where we've done so to help keep tests tidy. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Reviewed-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/lib-submodule-update.sh')
-rw-r--r--t/lib-submodule-update.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/t/lib-submodule-update.sh b/t/lib-submodule-update.sh
index 07c822c8ff..87a759149f 100644
--- a/t/lib-submodule-update.sh
+++ b/t/lib-submodule-update.sh
@@ -196,7 +196,6 @@ test_git_directory_exists () {
# the submodule repo if it doesn't exist and configures the most problematic
# settings for diff.ignoreSubmodules.
prolog () {
- test_oid_init &&
(test -d submodule_update_repo || create_lib_submodule_repo) &&
test_config_global diff.ignoreSubmodules all &&
test_config diff.ignoreSubmodules all