Thread (27 messages) 27 messages, 7 authors, 2021-09-30

[PATCH 1/5] submodule-config.h: remove unused SUBMODULE_INIT macro

flat view
STALE1854d SUPERSEDED

From: Ævar Arnfjörð Bjarmason <hidden>
Date: 2021-09-27 00:40:00
Subsystem: the rest · Maintainer: Linus Torvalds

Status: Superseded by v2 (posted 2021-09-27). [go to v2]

Revision v1 (2 revisions archived).

Revisions (2)
  1. v1 current
  2. v2 [diff against previous]
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 <redacted>
---
 submodule-config.h | 4 ----
 1 file changed, 4 deletions(-)
diff --git a/submodule-config.h b/submodule-config.h
index c11e22cf509..65875b94ea5 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;
 
-- 
2.33.0.1294.g2bdf2798764
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help