Skip to content

Commit 5aea9fe

Browse files
robertpjdaygitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent c9a800a commit 5aea9fe

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

Documentation/technical/api-submodule-config.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ submodule config cache API
44
The submodule config cache API allows to read submodule
55
configurations/information from specified revisions. Internally
66
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
88
submodule path or name.
99

1010
Usage

contrib/subtree/git-subtree.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ as a subdirectory of your application.
2828

2929
Subtrees are not to be confused with submodules, which are meant for
3030
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
3232
your repository, and do not force end-users of your
3333
repository to do anything special or to understand how subtrees
3434
work. A subtree is just a subdirectory that can be

submodule-config.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
/*
1010
* submodule cache lookup structure
1111
* 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
1313
* using path or name as key.
1414
* for_path stores submodule entries with path as key
1515
* for_name stores submodule entries with name as key
@@ -91,7 +91,7 @@ static void submodule_cache_clear(struct submodule_cache *cache)
9191
/*
9292
* We iterate over the name hash here to be symmetric with the
9393
* 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.
9595
*/
9696
hashmap_iter_init(&cache->for_name, &iter);
9797
while ((entry = hashmap_iter_next(&iter)))

t/t5526-fetch-submodules.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ test_expect_success "don't fetch submodule when newly recorded commits are alrea
485485
)
486486
'
487487

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" '
489489
(
490490
cd downstream &&
491491
git fetch --recurse-submodules

0 commit comments

Comments
 (0)