summaryrefslogtreecommitdiff
path: root/submodule-config.c
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@crashcourse.ca>2018-02-14 00:09:31 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-02-14 19:34:34 (GMT)
commit5aea9fe6cccf7a29551f86e1c2ec85ab0ba12e8e (patch)
tree8d843a771da5847f57b59a6d87bf3a61dacddc9b /submodule-config.c
parentc9a800a66d040421879cfb88ea1083779de9d1d7 (diff)
downloadgit-5aea9fe6cccf7a29551f86e1c2ec85ab0ba12e8e.zip
git-5aea9fe6cccf7a29551f86e1c2ec85ab0ba12e8e.tar.gz
git-5aea9fe6cccf7a29551f86e1c2ec85ab0ba12e8e.tar.bz2
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>
Diffstat (limited to 'submodule-config.c')
-rw-r--r--submodule-config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/submodule-config.c b/submodule-config.c
index 2aa8a17..602ba8c 100644
--- a/submodule-config.c
+++ b/submodule-config.c
@@ -9,7 +9,7 @@
/*
* submodule cache lookup structure
* There is one shared set of 'struct submodule' entries which can be
- * looked up by their sha1 blob id of the .gitmodule file and either
+ * looked up by their sha1 blob id of the .gitmodules file and either
* using path or name as key.
* for_path stores submodule entries with path as key
* for_name stores submodule entries with name as key
@@ -91,7 +91,7 @@ static void submodule_cache_clear(struct submodule_cache *cache)
/*
* We iterate over the name hash here to be symmetric with the
* allocation of struct submodule entries. Each is allocated by
- * their .gitmodule blob sha1 and submodule name.
+ * their .gitmodules blob sha1 and submodule name.
*/
hashmap_iter_init(&cache->for_name, &iter);
while ((entry = hashmap_iter_next(&iter)))