Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2021-09-27 15:54:24 +0300
committerJunio C Hamano <gitster@pobox.com>2021-09-28 00:47:59 +0300
commit9d444d9ee019cb795e6a677fbb70daf6ae64a073 (patch)
tree9f7607b40d96842c5e75a069d78454b94ecb0d8f /submodule-config.h
parentddb1055343948e0d0bc81f8d20245f1ada6430a0 (diff)
submodule-config.h: remove unused SUBMODULE_INIT macro
This macro was added and used in c68f8375760 (implement fetching of moved submodules, 2017-10-16) but its last user went away in be76c212823 (fetch: ensure submodule objects fetched, 2018-12-06). Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'submodule-config.h')
-rw-r--r--submodule-config.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/submodule-config.h b/submodule-config.h
index c11e22cf50..65875b94ea 100644
--- a/submodule-config.h
+++ b/submodule-config.h
@@ -45,10 +45,6 @@ struct submodule {
struct object_id gitmodules_oid;
int recommend_shallow;
};
-
-#define SUBMODULE_INIT { NULL, NULL, NULL, RECURSE_SUBMODULES_NONE, \
- NULL, NULL, SUBMODULE_UPDATE_STRATEGY_INIT, { { 0 } }, -1 };
-
struct submodule_cache;
struct repository;