summaryrefslogtreecommitdiff
path: root/submodule.c
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2017-06-25 13:20:41 +0300
committerJunio C Hamano <gitster@pobox.com>2017-06-27 10:35:49 -0700
commit64127575149e35b409bc2f78962f86507346d604 (patch)
tree3287f694ee01dfabdcab849c10fd90947a0ca531 /submodule.c
parente0aaa1b6532cfce93d87af9bc813fb2e7a7ce9d7 (diff)
downloadgit-64127575149e35b409bc2f78962f86507346d604.tar.gz
Spelling fixesvs/typofixes
Signed-off-by: Ville Skyttä <ville.skytta@iki.fi> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'submodule.c')
-rw-r--r--submodule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/submodule.c b/submodule.c
index da0b805493..71e0c5a85b 100644
--- a/submodule.c
+++ b/submodule.c
@@ -846,9 +846,9 @@ static int submodule_has_commits(const char *path, struct oid_array *commits)
int has_commit = 1;
/*
- * Perform a cheap, but incorrect check for the existance of 'commits'.
+ * Perform a cheap, but incorrect check for the existence of 'commits'.
* This is done by adding the submodule's object store to the in-core
- * object store, and then querying for each commit's existance. If we
+ * object store, and then querying for each commit's existence. If we
* do not have the commit object anywhere, there is no chance we have
* it in the object store of the correct submodule and have it
* reachable from a ref, so we can fail early without spawning rev-list