File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ submodule config cache API
4
4
The submodule config cache API allows to read submodule
5
5
configurations/information from specified revisions. Internally
6
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
8
submodule path or name.
9
9
10
10
Usage
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ as a subdirectory of your application.
28
28
29
29
Subtrees are not to be confused with submodules, which are meant for
30
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
32
your repository, and do not force end-users of your
33
33
repository to do anything special or to understand how subtrees
34
34
work. A subtree is just a subdirectory that can be
Original file line number Diff line number Diff line change 9
9
/*
10
10
* submodule cache lookup structure
11
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
13
* using path or name as key.
14
14
* for_path stores submodule entries with path as key
15
15
* for_name stores submodule entries with name as key
@@ -91,7 +91,7 @@ static void submodule_cache_clear(struct submodule_cache *cache)
91
91
/*
92
92
* We iterate over the name hash here to be symmetric with the
93
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
95
*/
96
96
hashmap_iter_init (& cache -> for_name , & iter );
97
97
while ((entry = hashmap_iter_next (& iter )))
Original file line number Diff line number Diff line change @@ -485,7 +485,7 @@ test_expect_success "don't fetch submodule when newly recorded commits are alrea
485
485
)
486
486
'
487
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
489
(
490
490
cd downstream &&
491
491
git fetch --recurse-submodules
You can’t perform that action at this time.
0 commit comments