Skip to content

Commit 9d444d9

Browse files
avargitster
authored andcommitted
submodule-config.h: remove unused SUBMODULE_INIT macro
This macro was added and used in c68f837 (implement fetching of moved submodules, 2017-10-16) but its last user went away in be76c21 (fetch: ensure submodule objects fetched, 2018-12-06). Signed-off-by: Ævar Arnfjörð Bjarmason <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent ddb1055 commit 9d444d9

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

submodule-config.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,6 @@ struct submodule {
4545
struct object_id gitmodules_oid;
4646
int recommend_shallow;
4747
};
48-
49-
#define SUBMODULE_INIT { NULL, NULL, NULL, RECURSE_SUBMODULES_NONE, \
50-
NULL, NULL, SUBMODULE_UPDATE_STRATEGY_INIT, { { 0 } }, -1 };
51-
5248
struct submodule_cache;
5349
struct repository;
5450

0 commit comments

Comments
 (0)