summaryrefslogtreecommitdiff
path: root/submodule.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2017-06-30 13:45:25 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-06-30 13:45:25 -0700
commit748cffc22bbe769b3b2fba90ae98db4719b90bb4 (patch)
treef65f24be1f89121be4ccf0191c06651e81e6abc9 /submodule.c
parentMerge branch 'rs/apply-validate-input' (diff)
parentSpelling fixes (diff)
downloadtgif-748cffc22bbe769b3b2fba90ae98db4719b90bb4.tar.xz
Merge branch 'vs/typofixes'
Many typofixes. * vs/typofixes: Spelling fixes
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