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
44The submodule config cache API allows to read submodule
55configurations/information from specified revisions. Internally
66information 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
88submodule path or name.
99
1010Usage
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ as a subdirectory of your application.
2828
2929Subtrees are not to be confused with submodules, which are meant for
3030the 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
3232your repository, and do not force end-users of your
3333repository to do anything special or to understand how subtrees
3434work. A subtree is just a subdirectory that can be
Original file line number Diff line number Diff line change 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 )))
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
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
You can’t perform that action at this time.
0 commit comments