Fix typos reported by codespell

This commit is contained in:
Gustavo Henrique Nihei
2021-02-25 09:48:46 -03:00
committed by Xiang Xiao
parent b9f231cdca
commit 76acb32e29
24 changed files with 37 additions and 36 deletions
+2 -2
View File
@@ -61,7 +61,7 @@ def header_authors(header):
results = list(filter(lambda s: s != '', results)) # remove empty strings
return results
# Search for an author name in Apache's commiters/non-commiters
# Search for an author name in Apache's committers/non-committers
# database. It will return (apacheID,name) if there's a match or
# None if not. apacheID might be None if there's no Apache ID
# for author
@@ -162,7 +162,7 @@ def analyze(j):
file_contents = get_file(commit['blob'])
# skip inaccesible blobs (probably lived in a submodule)
# skip inaccessible blobs (probably lived in a submodule)
if (not file_contents):
+1 -1
View File
@@ -63,7 +63,7 @@ getblobs "$1" > $out2
if [ "$(jq '. | length' $out1)" != "$(jq '. | length' $out2)" ]; then
# TODO: handle this case, we get more than one blob when the file is moved
# to/from submodule and it difficults parsing. Also, the blob we get
# to/from submodule and it difficulties parsing. Also, the blob we get
# for when they file is in the submodule is not usable since it is possibly
# from the pointed repo.
echo "Log and blob list differ in size, probably a file which lived in a submodule"