summaryrefslogtreecommitdiff
path: root/contrib/completion
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2019-11-05 17:07:23 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-11-10 07:00:54 (GMT)
commit15beaaa3d1f6b555900446deb5e376b4f806d734 (patch)
tree96a960cd2c0c9b1cceeb9c7f5ed46680ba5e67b9 /contrib/completion
parent891529792547c55bf8c94ea8831631702492e839 (diff)
downloadgit-15beaaa3d1f6b555900446deb5e376b4f806d734.zip
git-15beaaa3d1f6b555900446deb5e376b4f806d734.tar.gz
git-15beaaa3d1f6b555900446deb5e376b4f806d734.tar.bz2
Fix spelling errors in code comments
Reported-by: Jens Schleusener <Jens.Schleusener@fossies.org> Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/completion')
-rw-r--r--contrib/completion/git-completion.bash4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index 00fbe6c..47c5510 100644
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -550,7 +550,7 @@ __git_index_files ()
esc_idx, 1)
} else if (esc == "n") {
# Uh-oh, a newline character.
- # We cant reliably put a pathname
+ # We cannot reliably put a pathname
# containing a newline into COMPREPLY,
# and the newline would create a mess.
# Skip this path.
@@ -565,7 +565,7 @@ __git_index_files ()
}
}
# Drop closing double quote, if there is one.
- # (There isnt any if this is a directory, as it was
+ # (There is not any if this is a directory, as it was
# already stripped with the trailing path components.)
if (substr(p, length(p), 1) == "\"")
out = out substr(p, 1, length(p) - 1)