Correct mispellings of ".gitmodule" to ".gitmodules"

There are a small number of misspellings, ".gitmodule", scattered throughout the code base, correct them ... no apparent functional changes. Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Robert P. J. Day committed Feb 13, 2018 at 19:09 UTC 5aea9fe6cccf7a29551f86e1c2ec85ab0ba12e8e
4 files changed +5 -5
Documentation/technical/api-submodule-config.txt
+1 -1
@@ -4,7 +4,7 @@ submodule config cache API
4 The submodule config cache API allows to read submodule
5 configurations/information from specified revisions. Internally
6 information is lazily read into a cache that is used to avoid
7 -unnecessary parsing of the same .gitmodule files. Lookups can be done by
7 +unnecessary parsing of the same .gitmodules files. Lookups can be done by
8 submodule path or name.
9
10 Usage
contrib/subtree/git-subtree.txt
+1 -1
@@ -28,7 +28,7 @@ as a subdirectory of your application.
28
29 Subtrees are not to be confused with submodules, which are meant for
30 the same task. Unlike submodules, subtrees do not need any special
31 -constructions (like .gitmodule files or gitlinks) be present in
31 +constructions (like .gitmodules files or gitlinks) be present in
32 your repository, and do not force end-users of your
33 repository to do anything special or to understand how subtrees
34 work. A subtree is just a subdirectory that can be
submodule-config.c
+2 -2
@@ -9,7 +9,7 @@
9 /*
10 * submodule cache lookup structure
11 * There is one shared set of 'struct submodule' entries which can be
12 - * looked up by their sha1 blob id of the .gitmodule file and either
12 + * looked up by their sha1 blob id of the .gitmodules file and either
13 * using path or name as key.
14 * for_path stores submodule entries with path as key
15 * for_name stores submodule entries with name as key
@@ -91,7 +91,7 @@ static void submodule_cache_clear(struct submodule_cache *cache)
91 /*
92 * We iterate over the name hash here to be symmetric with the
93 * allocation of struct submodule entries. Each is allocated by
94 - * their .gitmodule blob sha1 and submodule name.
94 + * their .gitmodules blob sha1 and submodule name.
95 */
96 hashmap_iter_init(&cache->for_name, &iter);
97 while ((entry = hashmap_iter_next(&iter)))
t/t5526-fetch-submodules.sh
+1 -1
@@ -485,7 +485,7 @@ test_expect_success "don't fetch submodule when newly recorded commits are alrea
485 )
486 '
487
488 -test_expect_success "'fetch.recurseSubmodules=on-demand' works also without .gitmodule entry" '
488 +test_expect_success "'fetch.recurseSubmodules=on-demand' works also without .gitmodules entry" '
489 (
490 cd downstream &&
491 git fetch --recurse-submodules