Skip to content

Commit 78ce666

Browse files
committed
Merge branch 'ak/typofix-2.46-maint'
Typofix. * ak/typofix-2.46-maint: upload-pack: fix a typo sideband: fix a typo setup: fix a typo run-command: fix a typo revision: fix a typo refs: fix typos rebase: fix a typo read-cache-ll: fix a typo pretty: fix a typo object-file: fix a typo merge-ort: fix typos merge-ll: fix a typo http: fix a typo gpg-interface: fix a typo git-p4: fix typos git-instaweb: fix a typo fsmonitor-settings: fix a typo diffcore-rename: fix typos config.mak.dev: fix a typo
2 parents 52f57e9 + e02cc08 commit 78ce666

19 files changed

+24
-24
lines changed

config.mak.dev

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ DEVELOPER_CFLAGS += -Wno-missing-braces
6969
endif
7070
endif
7171

72-
# Old versions of clang complain about initializaing a
72+
# Old versions of clang complain about initializing a
7373
# struct-within-a-struct using just "{0}" rather than "{{0}}". This
7474
# error is considered a false-positive and not worth fixing, because
7575
# new clang versions do not, so just disable it.

diffcore-rename.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -933,7 +933,7 @@ static int find_basename_matches(struct diff_options *options,
933933
* spend more cycles to find similarities between files, so it may
934934
* be less likely that this heuristic is wanted. If someone is
935935
* doing break detection, that means they do not want filename
936-
* similarity to imply any form of content similiarity, and thus
936+
* similarity to imply any form of content similarity, and thus
937937
* this heuristic would definitely be incompatible.
938938
*/
939939

@@ -1534,7 +1534,7 @@ void diffcore_rename_extended(struct diff_options *options,
15341534
* - remove ones not found in relevant_sources
15351535
* and
15361536
* - remove ones in relevant_sources which are needed only
1537-
* for directory renames IF no ancestory directory
1537+
* for directory renames IF no ancestry directory
15381538
* actually needs to know any more individual path
15391539
* renames under them
15401540
*/

fsmonitor-settings.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#include "fsmonitor-path-utils.h"
88

99
/*
10-
* We keep this structure defintion private and have getters
10+
* We keep this structure definition private and have getters
1111
* for all fields so that we can lazy load it as needed.
1212
*/
1313
struct fsmonitor_settings {

git-instaweb.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ python_conf() {
612612
ln -sf "$root/static" "$fqgitdir/gitweb/$httpd_only/"
613613

614614
# generate a standalone 'python http.server' script in $fqgitdir/gitweb
615-
# This asumes that python is in user's $PATH
615+
# This assumes that python is in user's $PATH
616616
# This script is Python 2 and 3 compatible
617617
cat > "$fqgitdir/gitweb/gitweb.py" <<EOF
618618
#!/usr/bin/env python

git-p4.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
import zipfile
5555
import zlib
5656

57-
# On python2.7 where raw_input() and input() are both availble,
57+
# On python2.7 where raw_input() and input() are both available,
5858
# we want raw_input's semantics, but aliased to input for python3
5959
# compatibility
6060
# support basestring in python3
@@ -1804,7 +1804,7 @@ def __init__(self):
18041804
status from the script will abort the process.
18051805
18061806
The purpose of the hook is to edit the message file in place, and it is not
1807-
supressed by the `--no-verify` option. This hook is called even if
1807+
suppressed by the `--no-verify` option. This hook is called even if
18081808
`--prepare-p4-only` is set.
18091809
18101810
The `p4-changelist` hook is executed after the changelist message has been

gpg-interface.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ static void parse_ssh_output(struct signature_check *sigc)
400400
* Note that "PRINCIPAL" can contain whitespace, "RSA" and
401401
* "SHA256" part could be a different token that names of
402402
* the algorithms used, and "FINGERPRINT" is a hexadecimal
403-
* string. By finding the last occurence of " with ", we can
403+
* string. By finding the last occurrence of " with ", we can
404404
* reliably parse out the PRINCIPAL.
405405
*/
406406
sigc->result = 'B';

http.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1707,7 +1707,7 @@ void run_active_slot(struct active_request_slot *slot)
17071707
* The value of slot->finished we set before the loop was used
17081708
* to set our "finished" variable when our request completed.
17091709
*
1710-
* 1. The slot may not have been reused for another requst
1710+
* 1. The slot may not have been reused for another request
17111711
* yet, in which case it still has &finished.
17121712
*
17131713
* 2. The slot may already be in-use to serve another request,

merge-ll.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ static int read_merge_config(const char *var, const char *value,
334334
* %X - the revision for our version
335335
* %Y - the revision for their version
336336
*
337-
* If the file is not named indentically in all versions, then each
337+
* If the file is not named identically in all versions, then each
338338
* revision is joined with the corresponding path, separated by a colon.
339339
* The external merge driver should write the results in the
340340
* file named by %A, and signal that it has done with zero exit

merge-ort.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1147,7 +1147,7 @@ static void collect_rename_info(struct merge_options *opt,
11471147
* Update dir_rename_mask (determines ignore-rename-source validity)
11481148
*
11491149
* dir_rename_mask helps us keep track of when directory rename
1150-
* detection may be relevant. Basically, whenver a directory is
1150+
* detection may be relevant. Basically, whenever a directory is
11511151
* removed on one side of history, and a file is added to that
11521152
* directory on the other side of history, directory rename
11531153
* detection is relevant (meaning we have to detect renames for all
@@ -3837,7 +3837,7 @@ static int write_completed_directory(struct merge_options *opt,
38373837
* src/moduleB 2
38383838
*
38393839
* which is used to know that xtract.c & token.txt are from the
3840-
* toplevel dirctory, while umm.c & stuff.h & baz.c are from the
3840+
* toplevel directory, while umm.c & stuff.h & baz.c are from the
38413841
* src/moduleB directory. Again, following the example above,
38423842
* once we need to process src/moduleB, then info->offsets is
38433843
* updated to

object-file.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2308,7 +2308,7 @@ int stream_loose_object(struct input_stream *in_stream, size_t len,
23082308

23092309
/*
23102310
* Common steps for write_loose_object and stream_loose_object to
2311-
* end writing loose oject:
2311+
* end writing loose object:
23122312
*
23132313
* - End the compression of zlib stream.
23142314
* - Get the calculated oid.

0 commit comments

Comments
 (0)