Thyme two ficks sum Documentaton tyops and speling erors!
cover Thyme two ficks sum Documentaton tyops and speling erors!
We have a number of typos and spelling errors that I spotted under Documentation/.
It'd be nice if someone could double check that I placed the missing right parenthesis correctly in Documentation/technical/api-trace2.txt. Also, not sure if folks would be happy or unhappy with me un-splitting a word in commit-graph.txt.
Elijah Newren (1):
Documentation: fix a bunch of typos, both old and new
Documentation/CodingGuidelines | 2 +- Documentation/RelNotes/1.7.0.2.txt | 2 +- Documentation/RelNotes/1.7.10.4.txt | 2 +- Documentation/RelNotes/1.7.12.3.txt | 2 +- Documentation/RelNotes/1.7.5.3.txt | 2 +- Documentation/RelNotes/1.8.0.txt | 2 +- Documentation/RelNotes/2.1.3.txt | 2 +- Documentation/RelNotes/2.10.0.txt | 2 +- Documentation/RelNotes/2.10.2.txt | 2 +- Documentation/RelNotes/2.11.1.txt | 2 +- Documentation/RelNotes/2.12.0.txt | 2 +- Documentation/RelNotes/2.13.3.txt | 4 ++-- Documentation/RelNotes/2.14.0.txt | 4 ++-- Documentation/RelNotes/2.16.0.txt | 2 +- Documentation/RelNotes/2.16.3.txt | 2 +- Documentation/RelNotes/2.17.0.txt | 2 +- Documentation/RelNotes/2.18.0.txt | 2 +- Documentation/RelNotes/2.19.0.txt | 2 +- Documentation/RelNotes/2.24.0.txt | 2 +- Documentation/RelNotes/2.3.3.txt | 2 +- Documentation/RelNotes/2.3.7.txt | 2 +- Documentation/RelNotes/2.4.3.txt | 2 +- Documentation/RelNotes/2.8.0.txt | 2 +- Documentation/RelNotes/2.9.3.txt | 2 +- Documentation/config/tag.txt | 2 +- Documentation/git-bisect-lk2009.txt | 2 +- Documentation/git-check-attr.txt | 2 +- Documentation/git-check-ignore.txt | 2 +- Documentation/git-filter-branch.txt | 2 +- Documentation/git-range-diff.txt | 2 +- Documentation/git-tag.txt | 2 +- Documentation/gitattributes.txt | 2 +- Documentation/gitmodules.txt | 2 +- Documentation/technical/api-trace2.txt | 14 +++++++------- Documentation/technical/commit-graph.txt | 12 ++++++------ .../technical/hash-function-transition.txt | 2 +- Documentation/technical/index-format.txt | 4 ++-- Documentation/technical/partial-clone.txt | 2 +- Documentation/technical/protocol-v2.txt | 2 +- Documentation/technical/rerere.txt | 2 +- 40 files changed, 54 insertions(+), 54 deletions(-)
base-commit: d966095db01190a2196e31195ea6fa0c722aa732
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-418%2Fnewren%2Ftypo-fixes-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-418/newren/typo-fixes-v1
Pull-Request: https://github.com/gitgitgadget/git/pull/418
Signature · 1 line
gitgitgadget
PATCH 1/1 Documentation: fix a bunch of typos, both old and new
From: Elijah Newren <[email protected]>
--- Documentation/CodingGuidelines | 2 +- Documentation/RelNotes/1.7.0.2.txt | 2 +- Documentation/RelNotes/1.7.10.4.txt | 2 +- Documentation/RelNotes/1.7.12.3.txt | 2 +- Documentation/RelNotes/1.7.5.3.txt | 2 +- Documentation/RelNotes/1.8.0.txt | 2 +- Documentation/RelNotes/2.1.3.txt | 2 +- Documentation/RelNotes/2.10.0.txt | 2 +- Documentation/RelNotes/2.10.2.txt | 2 +- Documentation/RelNotes/2.11.1.txt | 2 +- Documentation/RelNotes/2.12.0.txt | 2 +- Documentation/RelNotes/2.13.3.txt | 4 ++-- Documentation/RelNotes/2.14.0.txt | 4 ++-- Documentation/RelNotes/2.16.0.txt | 2 +- Documentation/RelNotes/2.16.3.txt | 2 +- Documentation/RelNotes/2.17.0.txt | 2 +- Documentation/RelNotes/2.18.0.txt | 2 +- Documentation/RelNotes/2.19.0.txt | 2 +- Documentation/RelNotes/2.24.0.txt | 2 +- Documentation/RelNotes/2.3.3.txt | 2 +- Documentation/RelNotes/2.3.7.txt | 2 +- Documentation/RelNotes/2.4.3.txt | 2 +- Documentation/RelNotes/2.8.0.txt | 2 +- Documentation/RelNotes/2.9.3.txt | 2 +- Documentation/config/tag.txt | 2 +- Documentation/git-bisect-lk2009.txt | 2 +- Documentation/git-check-attr.txt | 2 +- Documentation/git-check-ignore.txt | 2 +- Documentation/git-filter-branch.txt | 2 +- Documentation/git-range-diff.txt | 2 +- Documentation/git-tag.txt | 2 +- Documentation/gitattributes.txt | 2 +- Documentation/gitmodules.txt | 2 +- Documentation/technical/api-trace2.txt | 14 +++++++------- Documentation/technical/commit-graph.txt | 12 ++++++------ .../technical/hash-function-transition.txt | 2 +- Documentation/technical/index-format.txt | 4 ++-- Documentation/technical/partial-clone.txt | 2 +- Documentation/technical/protocol-v2.txt | 2 +- Documentation/technical/rerere.txt | 2 +- 40 files changed, 54 insertions(+), 54 deletions(-)
Documentation/CodingGuidelines +1 -1
@@ -75,7 +75,7 @@ For shell scripts specifically (not exhaustive): - If you want to find out if a command is available on the user's $PATH, you should use 'type <command>', instead of 'which <command>'. - The output of 'which' is not machine parseable and its exit code + The output of 'which' is not machine parsable and its exit code is not reliable across platforms. - We use POSIX compliant parameter substitutions and avoid bashisms;
Documentation/RelNotes/1.7.0.2.txt +1 -1
@@ -34,7 +34,7 @@ Fixes since v1.7.0.1 * "git status" in 1.7.0 lacked the optimization we used to have in 1.6.X series to speed up scanning of large working tree. - * "gitweb" did not diagnose parsing errors properly while reading tis configuration + * "gitweb" did not diagnose parsing errors properly while reading its configuration file. And other minor fixes and documentation updates.
Documentation/RelNotes/1.7.10.4.txt +1 -1
@@ -7,7 +7,7 @@ Fixes since v1.7.10.3 * The message file for Swedish translation has been updated a bit. * A name taken from mailmap was copied into an internal buffer - incorrectly and could overun the buffer if it is too long. + incorrectly and could overrun the buffer if it is too long. * A malformed commit object that has a header line chomped in the middle could kill git with a NULL pointer dereference.
Documentation/RelNotes/1.7.12.3.txt +1 -1
@@ -25,7 +25,7 @@ Fixes since v1.7.12.2 its Accept-Encoding header. * "git receive-pack" (the counterpart to "git push") did not give - progress output while processing objects it received to the puser + progress output while processing objects it received to the user when run over the smart-http protocol. * "git status" honored the ignore=dirty settings in .gitmodules but
Documentation/RelNotes/1.7.5.3.txt +1 -1
@@ -22,7 +22,7 @@ Fixes since v1.7.5.2 * "git log --stdin path" with an input that has additional pathspec used to corrupt memory. - * "git send-pack" (hence "git push") over smalt-HTTP protocol could + * "git send-pack" (hence "git push") over smart-HTTP protocol could deadlock when the client side pack-object died early. * Compressed tarball gitweb generates used to be made with the timestamp
Documentation/RelNotes/1.8.0.txt +1 -1
@@ -233,7 +233,7 @@ to them for details). together, misdetected branches. * "git receive-pack" (the counterpart to "git push") did not give - progress output while processing objects it received to the puser + progress output while processing objects it received to the user when run over the smart-http protocol. * When you misspell the command name you give to the "exec" action in
Documentation/RelNotes/2.1.3.txt +1 -1
@@ -13,7 +13,7 @@ Git v2.1.3 Release Notes they are new enough to support the `--output` option. * "git pack-objects" forgot to disable the codepath to generate - object recheability bitmap when it needs to split the resulting + object reachability bitmap when it needs to split the resulting pack. * "gitweb" used deprecated CGI::startfrom, which was removed from
Documentation/RelNotes/2.10.0.txt +1 -1
@@ -478,7 +478,7 @@ notes for details). * One part of "git am" had an oddball helper function that called stuff from outside "his" as opposed to calling what we have "ours", which was not gender-neutral and also inconsistent with the rest of - the system where outside stuff is usuall called "theirs" in + the system where outside stuff is usually called "theirs" in contrast to "ours". * "git blame file" allowed the lineage of lines in the uncommitted,
Documentation/RelNotes/2.10.2.txt +1 -1
@@ -86,7 +86,7 @@ Fixes since v2.10.1 by refusing to check out a branch that is already checked out in another worktree. However, this also prevented checking out a branch, which is designated as the primary branch of a bare - reopsitory, in a worktree that is connected to the bare + repository, in a worktree that is connected to the bare repository. The check has been corrected to allow it. * "git rebase" immediately after "git clone" failed to find the fork
Documentation/RelNotes/2.11.1.txt +1 -1
@@ -104,7 +104,7 @@ Fixes since v2.11 "git difftool --dir-diff" from a subdirectory never worked. This has been fixed. - * "git p4" that tracks multile p4 paths imported a single changelist + * "git p4" that tracks multiple p4 paths imported a single changelist that touches files in these multiple paths as one commit, followed by many empty commits. This has been fixed.
Documentation/RelNotes/2.12.0.txt +1 -1
@@ -315,7 +315,7 @@ notes for details). "git difftool --dir-diff" from a subdirectory never worked. This has been fixed. - * "git p4" that tracks multile p4 paths imported a single changelist + * "git p4" that tracks multiple p4 paths imported a single changelist that touches files in these multiple paths as one commit, followed by many empty commits. This has been fixed.
Documentation/RelNotes/2.13.3.txt +2 -2
@@ -25,7 +25,7 @@ Fixes since v2.13.2 * The code to pick up and execute command alias definition from the configuration used to switch to the top of the working tree and then come back when the expanded alias was executed, which was - unnecessarilyl complex. Attempt to simplify the logic by using the + unnecessarily complex. Attempt to simplify the logic by using the early-config mechanism that does not chdir around. * "git add -p" were updated in 2.12 timeframe to cope with custom
@@ -35,7 +35,7 @@ Fixes since v2.13.2 * Fix a recent regression to "git rebase -i" and add tests that would have caught it and others. - * An unaligned 32-bit access in pack-bitmap code ahs been corrected. + * An unaligned 32-bit access in pack-bitmap code has been corrected. * Tighten error checks for invalid "git apply" input.
Documentation/RelNotes/2.14.0.txt +2 -2
@@ -141,7 +141,7 @@ Performance, Internal Implementation, Development Support etc. * Some platforms have ulong that is smaller than time_t, and our historical use of ulong for timestamp would mean they cannot represent some timestamp that the platform allows. Invent a - separate and dedicated timestamp_t (so that we can distingiuish + separate and dedicated timestamp_t (so that we can distinguish timestamps and a vanilla ulongs, which along is already a good move), and then declare uintmax_t is the type to be used as the timestamp_t.
@@ -442,7 +442,7 @@ notes for details). * The code to pick up and execute command alias definition from the configuration used to switch to the top of the working tree and then come back when the expanded alias was executed, which was - unnecessarilyl complex. Attempt to simplify the logic by using the + unnecessarily complex. Attempt to simplify the logic by using the early-config mechanism that does not chdir around. * Fix configuration codepath to pay proper attention to commondir
Documentation/RelNotes/2.16.0.txt +1 -1
@@ -407,7 +407,7 @@ Fixes since v2.15 (merge eef3df5a93 bw/pathspec-match-submodule-boundary later to maint). * Amending commits in git-gui broke the author name that is non-ascii - due to incorrect enconding conversion. + due to incorrect encoding conversion. * Recent update to the submodule configuration code broke "diff-tree" by accidentally stopping to read from the index upfront.
Documentation/RelNotes/2.16.3.txt +1 -1
@@ -24,7 +24,7 @@ Fixes since v2.16.2 * The http tracing code, often used to debug connection issues, learned to redact potentially sensitive information from its output - so that it can be more safely sharable. + so that it can be more safely shareable. * Crash fix for a corner case where an error codepath tried to unlock what it did not acquire lock on.
Documentation/RelNotes/2.17.0.txt +1 -1
@@ -216,7 +216,7 @@ Fixes since v2.16 * The http tracing code, often used to debug connection issues, learned to redact potentially sensitive information from its output - so that it can be more safely sharable. + so that it can be more safely shareable. (merge 8ba18e6fa4 jt/http-redact-cookies later to maint). * Crash fix for a corner case where an error codepath tried to unlock
Documentation/RelNotes/2.18.0.txt +1 -1
@@ -179,7 +179,7 @@ Performance, Internal Implementation, Development Support etc. (merge 00a3da2a13 nd/remove-ignore-env-field later to maint). * Code to find the length to uniquely abbreviate object names based - on packfile content, which is a relatively recent addtion, has been + on packfile content, which is a relatively recent addition, has been optimized to use the same fan-out table. * The mechanism to use parse-options API to automate the command line
Documentation/RelNotes/2.19.0.txt +1 -1
@@ -106,7 +106,7 @@ Performance, Internal Implementation, Development Support etc. * The conversion to pass "the_repository" and then "a_repository" throughout the object access API continues. - * Continuing with the idea to programatically enumerate various + * Continuing with the idea to programmatically enumerate various pieces of data required for command line completion, teach the codebase to report the list of configuration variables subcommands care about to help complete them.
Documentation/RelNotes/2.24.0.txt +1 -1
@@ -313,7 +313,7 @@ Fixes since v2.23 to access the worktree correctly, which has been corrected. (merge dfd557c978 js/stash-apply-in-secondary-worktree later to maint). - * The merge-recursive machiery is one of the most complex parts of + * The merge-recursive machinery is one of the most complex parts of the system that accumulated cruft over time. This large series cleans up the implementation quite a bit. (merge b657047719 en/merge-recursive-cleanup later to maint).
Documentation/RelNotes/2.3.3.txt +1 -1
@@ -12,7 +12,7 @@ Fixes since v2.3.2 * Description given by "grep -h" for its --exclude-standard option was phrased poorly. - * Documentaton for "git remote add" mentioned "--tags" and + * Documentation for "git remote add" mentioned "--tags" and "--no-tags" and it was not clear that fetch from the remote in the future will use the default behaviour when neither is given to override it.
Documentation/RelNotes/2.3.7.txt +1 -1
@@ -4,7 +4,7 @@ Git v2.3.7 Release Notes Fixes since v2.3.6 ------------------ - * An earlier update to the parser that disects a URL broke an + * An earlier update to the parser that dissects a URL broke an address, followed by a colon, followed by an empty string (instead of the port number), e.g. ssh://example.com:/path/to/repo.
Documentation/RelNotes/2.4.3.txt +1 -1
@@ -66,7 +66,7 @@ Fixes since v2.4.3 * Some time ago, "git blame" (incorrectly) lost the convert_to_git() call when synthesizing a fake "tip" commit that represents the state in the working tree, which broke folks who record the history - with LF line ending to make their project portabile across + with LF line ending to make their project portable across platforms while terminating lines in their working tree files with CRLF for their platform.
Documentation/RelNotes/2.8.0.txt +1 -1
@@ -189,7 +189,7 @@ Performance, Internal Implementation, Development Support etc. * Some calls to strcpy(3) triggers a false warning from static analyzers that are less intelligent than humans, and reducing the number of these false hits helps us notice real issues. A few - calls to strcpy(3) in a couple of protrams that are already safe + calls to strcpy(3) in a couple of programs that are already safe has been rewritten to avoid false warnings. * The "name_path" API was an attempt to reduce the need to construct
Documentation/RelNotes/2.9.3.txt +1 -1
@@ -36,7 +36,7 @@ Fixes since v2.9.2 * One part of "git am" had an oddball helper function that called stuff from outside "his" as opposed to calling what we have "ours", which was not gender-neutral and also inconsistent with the rest of - the system where outside stuff is usuall called "theirs" in + the system where outside stuff is usually called "theirs" in contrast to "ours". * The test framework learned a new helper test_match_signal to
Documentation/config/tag.txt +1 -1
@@ -13,7 +13,7 @@ tag.gpgSign:: Use of this option when running in an automated script can result in a large number of tags being signed. It is therefore convenient to use an agent to avoid typing your gpg passphrase - several times. Note that this option doesn't affects tag signing + several times. Note that this option doesn't affect tag signing behavior enabled by "-u <keyid>" or "--local-user=<keyid>" options. tar.umask::
Documentation/git-bisect-lk2009.txt +1 -1
@@ -158,7 +158,7 @@ Test suites are very nice. But when they are used alone, they are supposed to be used so that all the tests are checked after each commit. This means that they are not very efficient, because many tests are run for no interesting result, and they suffer from -combinational explosion. +combinatorial explosion. In fact the problem is that big software often has many different configuration options and that each test case should pass for each
Documentation/git-check-attr.txt +1 -1
@@ -32,7 +32,7 @@ OPTIONS instead of from the command-line. -z:: - The output format is modified to be machine-parseable. + The output format is modified to be machine-parsable. If `--stdin` is also given, input paths are separated with a NUL character instead of a linefeed character.
Documentation/git-check-ignore.txt +1 -1
@@ -39,7 +39,7 @@ OPTIONS instead of from the command-line. -z:: - The output format is modified to be machine-parseable (see + The output format is modified to be machine-parsable (see below). If `--stdin` is also given, input paths are separated with a NUL character instead of a linefeed character.
Documentation/git-filter-branch.txt +1 -1
@@ -534,7 +534,7 @@ repo-filter' also provides https://github.com/newren/git-filter-repo/blob/master/contrib/filter-repo-demos/filter-lamely[filter-lamely], a drop-in git-filter-branch replacement (with a few caveats). While filter-lamely suffers from all the same safety issues as -git-filter-branch, it at least ameloriates the performance issues a +git-filter-branch, it at least ameliorates the performance issues a little. [[SAFETY]]
Documentation/git-range-diff.txt +1 -1
@@ -242,7 +242,7 @@ corresponding. The overall time needed to compute this algorithm is the time needed to compute n+m commit diffs and then n*m diffs of patches, plus the time -needed to compute the least-cost assigment between n and m diffs. Git +needed to compute the least-cost assignment between n and m diffs. Git uses an implementation of the Jonker-Volgenant algorithm to solve the assignment problem, which has cubic runtime complexity. The matching found in this case will look like this:
Documentation/git-tag.txt +1 -1
@@ -65,7 +65,7 @@ OPTIONS --sign:: Make a GPG-signed tag, using the default e-mail address's key. The default behavior of tag GPG-signing is controlled by `tag.gpgSign` - configuration variable if it exists, or disabled oder otherwise. + configuration variable if it exists, or disabled otherwise. See linkgit:git-config[1]. --no-sign::
Documentation/gitattributes.txt +1 -1
@@ -498,7 +498,7 @@ command. This is achieved by using the long-running process protocol When Git encounters the first file that needs to be cleaned or smudged, it starts the filter and performs the handshake. In the handshake, the welcome message sent by Git is "git-filter-client", only version 2 is -suppported, and the supported capabilities are "clean", "smudge", and +supported, and the supported capabilities are "clean", "smudge", and "delay". Afterwards Git sends a list of "key=value" pairs terminated with
Documentation/gitmodules.txt +1 -1
@@ -81,7 +81,7 @@ submodule.<name>.ignore:: Committed differences and modifications to tracked files will show up. - none;; No modifiations to submodules are ignored, all of committed + none;; No modifications to submodules are ignored, all of committed differences, and modifications to tracked and untracked files are shown. This is the default option.
Documentation/technical/api-trace2.txt +7 -7
@@ -178,7 +178,7 @@ describe the simplified forms. == Public API -All Trace2 API functions send a messsage to all of the active +All Trace2 API functions send a message to all of the active Trace2 Targets. This section describes the set of available messages.
@@ -377,7 +377,7 @@ of `pthread_create()`. and the thread elapsed time. + This function must be called by the thread-proc before it returns -(so that the coorect TLS data is used and cleaned up. It should +(so that the correct TLS data is used and cleaned up). It should not be called by the caller of `pthread_join()`. === Region and Data Messages
@@ -406,7 +406,7 @@ The `label` field is an arbitrary label used to describe the activity being started, such as "read_recursive" or "do_read_index". + The `repo` field, if set, will be used to get the "repo-id", so that -recursive oerations can be attributed to the correct repository. +recursive operations can be attributed to the correct repository. `void trace2_region_leave(const char *category, const char *label, const struct repository *repo)`::
@@ -421,7 +421,7 @@ This function pops the region nesting stack on the current thread and reports the elapsed time of the stack frame. + The `category`, `label`, and `repo` fields are the same as above. -The `category` and `label` do not need to match the correpsonding +The `category` and `label` do not need to match the corresponding "region_enter" message, but it makes the data stream easier to understand.
@@ -816,7 +816,7 @@ with "?". Note that the session-id of the child process is not available to the current/spawning process, so the child's PID is reported here as a hint for post-processing. (But it is only a hint because the child -proces may be a shell script which doesn't have a session-id.) +process may be a shell script which doesn't have a session-id.) + Note that the `t_rel` field contains the observed run time in seconds for the child process (starting before the fork/exec/spawn and
@@ -1176,7 +1176,7 @@ d0 | main | atexit | | 0.028809 | | + Regions may be nested. This causes messages to be indented in the PERF target, for example. -Elapsed times are relative to the start of the correpsonding nesting +Elapsed times are relative to the start of the corresponding nesting level as expected. For example, if we add region message to: + ----------------
@@ -1371,7 +1371,7 @@ d0 | main | atexit | | 0.030027 | | In this example, the preload region took 0.009122 seconds. The 7 threads took between 0.006069 and 0.008947 seconds to work on their portion of the index. Thread "th01" worked on 508 items at offset 0. Thread "th02" -worked on 508 items at offset 2032. Thread "th04" worked on 508 itemts +worked on 508 items at offset 2032. Thread "th04" worked on 508 items at offset 508. + This example also shows that thread names are assigned in a racy manner
Documentation/technical/commit-graph.txt +6 -6
@@ -22,11 +22,11 @@ as "commit-graph" either in the .git/objects/info directory or in the info directory of an alternate. The commit-graph file stores the commit graph structure along with some -extra metadata to speed up graph walks. By listing commit OIDs in lexi- -cographic order, we can identify an integer position for each commit and -refer to the parents of a commit using those integer positions. We use -binary search to find initial commits and then use the integer positions -for fast lookups during the walk. +extra metadata to speed up graph walks. By listing commit OIDs in +lexicographic order, we can identify an integer position for each commit +and refer to the parents of a commit using those integer positions. We +use binary search to find initial commits and then use the integer +positions for fast lookups during the walk. A consumer may load the following info for a commit from the graph:
@@ -85,7 +85,7 @@ have generation number represented by the macro GENERATION_NUMBER_ZERO = 0. Since the commit-graph file is closed under reachability, we can guarantee the following weaker condition on all commits: - If A and B are commits with generation numbers N amd M, respectively, + If A and B are commits with generation numbers N and M, respectively, and N < M, then A cannot reach B. Note how the strict inequality differs from the inequality when we have
Documentation/technical/hash-function-transition.txt +1 -1
@@ -602,7 +602,7 @@ git --output-format=sha1 log abac87a^{sha1}..f787cac^{sha256} Choice of Hash -------------- -In early 2005, around the time that Git was written, Xiaoyun Wang, +In early 2005, around the time that Git was written, Xiaoyun Wang, Yiqun Lisa Yin, and Hongbo Yu announced an attack finding SHA-1 collisions in 2^69 operations. In August they published details. Luckily, no practical demonstrations of a collision in full SHA-1 were
Documentation/technical/index-format.txt +2 -2
@@ -318,7 +318,7 @@ The remaining data of each directory block is grouped by type: == End of Index Entry The End of Index Entry (EOIE) is used to locate the end of the variable - length index entries and the begining of the extensions. Code can take + length index entries and the beginning of the extensions. Code can take advantage of this to quickly locate the index extensions without having to parse through all of the index entries.
@@ -351,7 +351,7 @@ The remaining data of each directory block is grouped by type: - A number of index offset entries each consisting of: - - 32-bit offset from the begining of the file to the first cache entry + - 32-bit offset from the beginning of the file to the first cache entry in this block of entries. - 32-bit count of cache entries in this block
Documentation/technical/partial-clone.txt +1 -1
@@ -32,7 +32,7 @@ if/when needed. A remote that can later provide the missing objects is called a promisor remote, as it promises to send the objects when -requested. Initialy Git supported only one promisor remote, the origin +requested. Initially Git supported only one promisor remote, the origin remote from which the user cloned and that was configured in the "extensions.partialClone" config option. Later support for more than one promisor remote has been implemented.
Documentation/technical/protocol-v2.txt +1 -1
@@ -252,7 +252,7 @@ A `fetch` request can take the following arguments: ofs-delta Indicate that the client understands PACKv2 with delta referring to its base by position in pack rather than by an oid. That is, - they can read OBJ_OFS_DELTA (ake type 6) in a packfile. + they can read OBJ_OFS_DELTA (aka type 6) in a packfile. If the 'shallow' feature is advertised the following arguments can be included in the clients request as well as the potential addition of the
Documentation/technical/rerere.txt +1 -1
@@ -117,7 +117,7 @@ early A became C or B, a late X became Y or Z". We can see there are 4 combinations of ("B or C", "C or B") x ("X or Y", "Y or X"). By sorting, the conflict is given its canonical name, namely, "an -early part became B or C, a late part becames X or Y", and whenever +early part became B or C, a late part became X or Y", and whenever any of these four patterns appear, and we can get to the same conflict and resolution that we saw earlier.
Signature · 1 line
gitgitgadget
v2 cover Thyme two ficks sum Documentaton tyops and speling erors!
In reply to Elijah Newren via GitGitGadget(Note: re-rolled the series instead of building on what's already in en/doc-typofix; I asked separately that it be ejected from next. If folks don't like that, I can fairly easily undo the squashing I did and base my new commits on top of the existing en/doc-typofix.)
We have a number of typos and spelling errors that I spotted under Documentation/ and many more that were reported by Jens Schleusener (
https://public-inbox.org/git/[email protected]/
)
To simplify review, I have broken this into several independent commits, such as:
* spelling errors affecting independent modules
* documentation fixes
* messages reported to users
* comment fixes
* testname updates
* testcode changes
This should make it easier to spot and/or eject any fixes that folks don't want (e.g. there's even a separate "uptodate -> up-to-date" commit with special rationale). This also allowed me to e.g. easily eject the spelling fixes to the svk dumps when I found the testcases depended on those spelling errors.
As in v1, it'd be nice if someone could double check in the first commit that I placed the missing right parenthesis correctly in Documentation/technical/api-trace2.txt. Also, not sure if folks would be happy or unhappy with me un-splitting a word in commit-graph.txt (also in the first commit).
Elijah Newren (11):
Documentation: fix a bunch of typos, both old and new Fix spelling errors in documentation outside of Documentation/ Prefer 'up-to-date' spelling
Fix spelling errors in code comments
Fix spelling errors in comments of testcases
Fix spelling errors in names of tests
Fix spelling errors in messages shown to users
Fix spelling errors in test commands
sha1dc: fix trivial comment spelling error
multimail: fix a few simple spelling errors
Fix spelling errors in no-longer-updated-from-upstream modules
Documentation/CodingGuidelines | 4 ++-- Documentation/RelNotes/1.5.0.txt | 4 ++-- Documentation/RelNotes/1.6.5.4.txt | 2 +- Documentation/RelNotes/1.7.0.2.txt | 2 +- Documentation/RelNotes/1.7.10.4.txt | 2 +- Documentation/RelNotes/1.7.12.3.txt | 2 +- Documentation/RelNotes/1.7.5.3.txt | 2 +- Documentation/RelNotes/1.8.0.txt | 2 +- Documentation/RelNotes/1.8.4.1.txt | 2 +- Documentation/RelNotes/2.1.3.txt | 2 +- Documentation/RelNotes/2.10.0.txt | 2 +- Documentation/RelNotes/2.10.2.txt | 2 +- Documentation/RelNotes/2.11.1.txt | 2 +- Documentation/RelNotes/2.12.0.txt | 2 +- Documentation/RelNotes/2.13.0.txt | 2 +- Documentation/RelNotes/2.13.3.txt | 4 ++-- Documentation/RelNotes/2.14.0.txt | 4 ++-- Documentation/RelNotes/2.16.0.txt | 2 +- Documentation/RelNotes/2.16.3.txt | 2 +- Documentation/RelNotes/2.17.0.txt | 2 +- Documentation/RelNotes/2.18.0.txt | 2 +- Documentation/RelNotes/2.19.0.txt | 2 +- Documentation/RelNotes/2.20.0.txt | 2 +- Documentation/RelNotes/2.3.3.txt | 2 +- Documentation/RelNotes/2.3.7.txt | 2 +- Documentation/RelNotes/2.4.3.txt | 2 +- Documentation/RelNotes/2.7.0.txt | 2 +- Documentation/RelNotes/2.8.0.txt | 2 +- Documentation/RelNotes/2.9.3.txt | 2 +- Documentation/config.txt | 2 +- Documentation/config/tag.txt | 2 +- Documentation/git-bisect-lk2009.txt | 2 +- Documentation/git-check-attr.txt | 2 +- Documentation/git-check-ignore.txt | 2 +- Documentation/git-cvsserver.txt | 2 +- Documentation/git-fast-export.txt | 2 +- Documentation/git-filter-branch.txt | 2 +- Documentation/git-range-diff.txt | 2 +- Documentation/git-tag.txt | 2 +- Documentation/git-update-index.txt | 2 +- Documentation/git.txt | 4 ++-- Documentation/gitattributes.txt | 6 +++--- Documentation/gitmodules.txt | 2 +- .../howto/separating-topic-branches.txt | 2 +- Documentation/merge-options.txt | 2 +- .../technical/api-submodule-config.txt | 2 +- Documentation/technical/api-trace2.txt | 14 ++++++------- Documentation/technical/commit-graph.txt | 12 +++++------ .../technical/hash-function-transition.txt | 4 ++-- Documentation/technical/index-format.txt | 4 ++-- Documentation/technical/pack-protocol.txt | 2 +- Documentation/technical/partial-clone.txt | 2 +- Documentation/technical/protocol-v2.txt | 2 +- Documentation/technical/rerere.txt | 2 +- INSTALL | 2 +- apply.c | 4 ++-- builtin/fetch.c | 4 ++-- builtin/gc.c | 4 ++-- builtin/pack-objects.c | 2 +- commit-graph.c | 2 +- commit.h | 2 +- compat/mingw.h | 2 +- compat/nedmalloc/malloc.c.h | 6 +++--- compat/obstack.h | 2 +- compat/regex/regcomp.c | 2 +- compat/regex/regex.h | 2 +- compat/regex/regex_internal.c | 2 +- compat/regex/regexec.c | 4 ++-- compat/vcbuild/find_vs_env.bat | 2 +- configure.ac | 2 +- contrib/coccinelle/commit.cocci | 2 +- contrib/completion/git-completion.bash | 4 ++-- contrib/hooks/multimail/git_multimail.py | 8 ++++---- contrib/hooks/multimail/post-receive.example | 2 +- contrib/hooks/post-receive-email | 2 +- contrib/hooks/update-paranoid | 2 +- contrib/mw-to-git/.perlcriticrc | 2 +- contrib/mw-to-git/git-remote-mediawiki.perl | 2 +- .../mw-to-git/t/install-wiki/db_install.php | 2 +- contrib/mw-to-git/t/t9360-mw-to-git-clone.sh | 2 +- contrib/mw-to-git/t/test-gitmw-lib.sh | 2 +- contrib/svn-fe/svnrdump_sim.py | 2 +- convert.c | 2 +- daemon.c | 4 ++-- diff.c | 4 ++-- dir.c | 2 +- git-cvsimport.perl | 2 +- git-send-email.perl | 2 +- gitk-git/gitk | 2 +- gitweb/gitweb.perl | 18 ++++++++--------- hashmap.c | 2 +- hashmap.h | 2 +- help.c | 2 +- name-hash.c | 2 +- parse-options.c | 2 +- perl/Git.pm | 2 +- range-diff.h | 2 +- read-cache.c | 2 +- refs/refs-internal.h | 2 +- repository.c | 4 ++-- repository.h | 2 +- rerere.c | 2 +- sequencer.c | 6 +++--- server-info.c | 2 +- sha1dc/sha1.c | 2 +- string-list.h | 2 +- t/perf/bisect_regression | 2 +- t/t0000-basic.sh | 2 +- t/t0027-auto-crlf.sh | 2 +- t/t0500-progress-display.sh | 4 ++-- t/t1050-large.sh | 6 +++--- t/t1512-rev-parse-disambiguation.sh | 2 +- t/t3210-pack-refs.sh | 2 +- t/t3905-stash-include-untracked.sh | 4 ++-- t/t4041-diff-submodule-option.sh | 20 +++++++++---------- t/t4057-diff-combined-paths.sh | 2 +- t/t4100/t-apply-1.patch | 4 ++-- t/t4100/t-apply-3.patch | 2 +- t/t4100/t-apply-5.patch | 4 ++-- t/t4100/t-apply-7.patch | 2 +- t/t4205-log-pretty-formats.sh | 2 +- t/t4213-log-tabexpand.sh | 2 +- t/t5528-push-default.sh | 2 +- t/t5535-fetch-push-symref.sh | 2 +- t/t5545-push-options.sh | 2 +- t/t5702-protocol-v2.sh | 10 +++++----- t/t6036-recursive-corner-cases.sh | 4 ++-- t/t6043-merge-rename-directories.sh | 6 +++--- t/t7004-tag.sh | 2 +- t/t7030-verify-tag.sh | 14 ++++++------- t/t7110-reset-merge.sh | 4 ++-- t/t7508-status.sh | 2 +- t/t7513-interpret-trailers.sh | 2 +- t/t7519-status-fsmonitor.sh | 2 +- t/t7609-merge-co-error-msgs.sh | 2 +- t/t9001-send-email.sh | 2 +- t/t9301-fast-import-notes.sh | 2 +- t/t9350-fast-export.sh | 2 +- t/t9809-git-p4-client-view.sh | 2 +- t/t9902-completion.sh | 6 +++--- trace2/tr2_sid.c | 2 +- unpack-trees.c | 10 +++++----- url.c | 2 +- xdiff-interface.h | 2 +- 144 files changed, 222 insertions(+), 222 deletions(-)
base-commit: da72936f544fec5a335e66432610e4cef4430991
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-418%2Fnewren%2Ftypo-fixes-v2
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-418/newren/typo-fixes-v2
Pull-Request: https://github.com/gitgitgadget/git/pull/418
Range-diff vs v1:
1: 086a6bb7be ! 1: c5855f8b6b Documentation: fix a bunch of typos, both old and new
@@ -2,6 +2,7 @@
Documentation: fix a bunch of typos, both old and new
+ Reported-by: Jens Schleusener <[email protected]>
diff --git a/Documentation/CodingGuidelines b/Documentation/CodingGuidelines
@@ -16,6 +17,50 @@
is not reliable across platforms.
- We use POSIX compliant parameter substitutions and avoid bashisms;
+@@
+ . since early 2012 with e1327023ea, we have been using an enum
+ definition whose last element is followed by a comma. This, like
+ an array initializer that ends with a trailing comma, can be used
+- to reduce the patch noise when adding a new identifer at the end.
++ to reduce the patch noise when adding a new identifier at the end.
+
+ . since mid 2017 with cbc0f81d, we have been using designated
+ initializers for struct (e.g. "struct t v = { .val = 'a' };").
+
+ diff --git a/Documentation/RelNotes/1.5.0.txt b/Documentation/RelNotes/1.5.0.txt
+ --- a/Documentation/RelNotes/1.5.0.txt
+ +++ b/Documentation/RelNotes/1.5.0.txt
+@@
+ the repository when that happens.
+
+
+-* Crufts removal
++* Cruft removal
+
+ - We used to say "old commits are retrievable using reflog and
+ 'master@{yesterday}' syntax as long as you haven't run
+@@
+ - The value of i18n.commitencoding in the originating
+ repository is recorded in the commit object on the "encoding"
+ header, if it is not UTF-8. git-log and friends notice this,
+- and reencodes the message to the log output encoding when
++ and re-encodes the message to the log output encoding when
+ displaying, if they are different. The log output encoding
+ is determined by "git log --encoding=<encoding>",
+ i18n.logoutputencoding configuration, or i18n.commitencoding
+
+ diff --git a/Documentation/RelNotes/1.6.5.4.txt b/Documentation/RelNotes/1.6.5.4.txt
+ --- a/Documentation/RelNotes/1.6.5.4.txt
+ +++ b/Documentation/RelNotes/1.6.5.4.txt
+@@
+
+ * "git prune-packed" gave progress output even when its standard error is
+ not connected to a terminal; this caused cron jobs that run it to
+- produce crufts.
++ produce cruft.
+
+ * "git pack-objects --all-progress" is an option to ask progress output
+ from write-object phase _if_ progress output were to be produced, and
diff --git a/Documentation/RelNotes/1.7.0.2.txt b/Documentation/RelNotes/1.7.0.2.txt --- a/Documentation/RelNotes/1.7.0.2.txt
@@ -82,6 +127,19 @@
* When you misspell the command name you give to the "exec" action in
+ diff --git a/Documentation/RelNotes/1.8.4.1.txt b/Documentation/RelNotes/1.8.4.1.txt
+ --- a/Documentation/RelNotes/1.8.4.1.txt
+ +++ b/Documentation/RelNotes/1.8.4.1.txt
+@@
+ in 1.8.4-rc1).
+
+ * "git rebase -i" and other scripted commands were feeding a
+- random, data dependant error message to 'echo' and expecting it
++ random, data dependent error message to 'echo' and expecting it
+ to come out literally.
+
+ * Setting the "submodule.<name>.path" variable to the empty
+
diff --git a/Documentation/RelNotes/2.1.3.txt b/Documentation/RelNotes/2.1.3.txt --- a/Documentation/RelNotes/2.1.3.txt
+++ b/Documentation/RelNotes/2.1.3.txt
@@ -147,6 +205,19 @@
by many empty commits. This has been fixed.
+ diff --git a/Documentation/RelNotes/2.13.0.txt b/Documentation/RelNotes/2.13.0.txt
+ --- a/Documentation/RelNotes/2.13.0.txt
+ +++ b/Documentation/RelNotes/2.13.0.txt
+@@
+ been changed to enable "--decorate".
+
+ * The output from "git status --short" has been extended to show
+- various kinds of dirtyness in submodules differently; instead of to
++ various kinds of dirtiness in submodules differently; instead of to
+ "M" for modified, 'm' and '?' can be shown to signal changes only
+ to the working tree of the submodule but not the commit that is
+ checked out.
+
diff --git a/Documentation/RelNotes/2.13.3.txt b/Documentation/RelNotes/2.13.3.txt --- a/Documentation/RelNotes/2.13.3.txt
+++ b/Documentation/RelNotes/2.13.3.txt
@@ -256,18 +327,18 @@
codebase to report the list of configuration variables subcommands care about to help complete them.
- diff --git a/Documentation/RelNotes/2.24.0.txt b/Documentation/RelNotes/2.24.0.txt
- --- a/Documentation/RelNotes/2.24.0.txt
- +++ b/Documentation/RelNotes/2.24.0.txt
+ diff --git a/Documentation/RelNotes/2.20.0.txt b/Documentation/RelNotes/2.20.0.txt
+ --- a/Documentation/RelNotes/2.20.0.txt
+ +++ b/Documentation/RelNotes/2.20.0.txt
@@
- to access the worktree correctly, which has been corrected.
- (merge dfd557c978 js/stash-apply-in-secondary-worktree later to maint).
+ alias expansion.
+
+ * The documentation of "git gc" has been updated to mention that it
+- is no longer limited to "pruning away crufts" but also updates
++ is no longer limited to "pruning away cruft" but also updates
+ ancillary files like commit-graph as a part of repository
+ optimization.
-- * The merge-recursive machiery is one of the most complex parts of -+ * The merge-recursive machinery is one of the most complex parts of
- the system that accumulated cruft over time. This large series
- cleans up the implementation quite a bit.
- (merge b657047719 en/merge-recursive-cleanup later to maint).
diff --git a/Documentation/RelNotes/2.3.3.txt b/Documentation/RelNotes/2.3.3.txt --- a/Documentation/RelNotes/2.3.3.txt
@@ -308,6 +379,19 @@
CRLF for their platform.
+ diff --git a/Documentation/RelNotes/2.7.0.txt b/Documentation/RelNotes/2.7.0.txt
+ --- a/Documentation/RelNotes/2.7.0.txt
+ +++ b/Documentation/RelNotes/2.7.0.txt
+@@
+
+ * "git interpret-trailers" can now run outside of a Git repository. +
+- * "git p4" learned to reencode the pathname it uses to communicate ++ * "git p4" learned to re-encode the pathname it uses to communicate
+ with the p4 depot with a new option.
+
+ * Give progress meter to "git filter-branch".
+
diff --git a/Documentation/RelNotes/2.8.0.txt b/Documentation/RelNotes/2.8.0.txt --- a/Documentation/RelNotes/2.8.0.txt
+++ b/Documentation/RelNotes/2.8.0.txt
@@ -334,6 +418,19 @@
* The test framework learned a new helper test_match_signal to
+ diff --git a/Documentation/config.txt b/Documentation/config.txt
+ --- a/Documentation/config.txt
+ +++ b/Documentation/config.txt
+@@
+
+ gitdir/i::
+ This is the same as gitdir except that matching is done
+- case-insensitively (e.g. on case-insensitive file sytems)
++ case-insensitively (e.g. on case-insensitive file systems)
+
+ onbranch::
+ The data that follows the keyword onbranch: is taken to be a
+
diff --git a/Documentation/config/tag.txt b/Documentation/config/tag.txt --- a/Documentation/config/tag.txt
+++ b/Documentation/config/tag.txt
@@ -386,6 +483,32 @@
with a NUL character instead of a linefeed character.
+ diff --git a/Documentation/git-cvsserver.txt b/Documentation/git-cvsserver.txt
+ --- a/Documentation/git-cvsserver.txt
+ +++ b/Documentation/git-cvsserver.txt
+@@
+ Git directory name
+ %g::
+ Git directory name, where all characters except for
+- alpha-numeric ones, ., and - are replaced with
++ alphanumeric ones, ., and - are replaced with
+ _ (this should make it easier to use the directory
+ name in a filename if wanted)
+ %m::
+
+ diff --git a/Documentation/git-fast-export.txt b/Documentation/git-fast-export.txt
+ --- a/Documentation/git-fast-export.txt
+ +++ b/Documentation/git-fast-export.txt
+@@
+ Specify how to handle encoding header in commit objects. When
+ asking to 'abort' (which is the default), this program will die
+ when encountering such a commit object. With 'yes', the commit
+- message will be reencoded into UTF-8. With 'no', the original
++ message will be re-encoded into UTF-8. With 'no', the original
+ encoding will be preserved.
+
+ --refspec::
+
diff --git a/Documentation/git-filter-branch.txt b/Documentation/git-filter-branch.txt --- a/Documentation/git-filter-branch.txt
+++ b/Documentation/git-filter-branch.txt
@@ -425,10 +548,51 @@
--no-sign::
+ diff --git a/Documentation/git-update-index.txt b/Documentation/git-update-index.txt
+ --- a/Documentation/git-update-index.txt
+ +++ b/Documentation/git-update-index.txt
+@@
+ linkgit:git-config[1]).
+
+ To avoid deleting a shared index file that is still used, its +-modification time is updated to the current time everytime a new split ++modification time is updated to the current time every time a new split
+ index based on the shared index file is either created or read from. +
+ UNTRACKED CACHE
+
+ diff --git a/Documentation/git.txt b/Documentation/git.txt
+ --- a/Documentation/git.txt
+ +++ b/Documentation/git.txt
+@@
+ the working tree.
+
+
+-Synching repositories
+-~~~~~~~~~~~~~~~~~~~~~
++Syncing repositories
++~~~~~~~~~~~~~~~~~~~~
+
+ include::cmds-synchingrepositories.txt[]
+
+
diff --git a/Documentation/gitattributes.txt b/Documentation/gitattributes.txt --- a/Documentation/gitattributes.txt
+++ b/Documentation/gitattributes.txt
@@
+
+ In these cases you can tell Git the encoding of a file in the working
+ directory with the working-tree-encoding attribute. If a file with this +-attribute is added to Git, then Git reencodes the content from the ++attribute is added to Git, then Git re-encodes the content from the
+ specified encoding to UTF-8. Finally, Git stores the UTF-8 encoded
+ content in its internal data structure (called "the index"). On checkout +-the content is reencoded back to the specified encoding.
++the content is re-encoded back to the specified encoding.
+
+ Please note that using the working-tree-encoding attribute may have a
+ number of pitfalls:
+@@
When Git encounters the first file that needs to be cleaned or smudged, it starts the filter and performs the handshake. In the handshake, the welcome message sent by Git is "git-filter-client", only version 2 is
@@ -451,6 +615,45 @@
shown. This is the default option.
+ diff --git a/Documentation/howto/separating-topic-branches.txt b/Documentation/howto/separating-topic-branches.txt
+ --- a/Documentation/howto/separating-topic-branches.txt
+ +++ b/Documentation/howto/separating-topic-branches.txt
+@@
+ o---o---o---o---o---o
+
+ The last diff better not to show anything other than cleanups
+-for crufts. Then I can finally clean things up:
++for cruft. Then I can finally clean things up:
+
+ $ git branch -D topic
+ $ git reset --hard HEAD^ ;# nuke pretend merge
+
+ diff --git a/Documentation/merge-options.txt b/Documentation/merge-options.txt
+ --- a/Documentation/merge-options.txt
+ +++ b/Documentation/merge-options.txt
+@@
+
+ --cleanup=<mode>::
+ This option determines how the merge message will be cleaned up before
+- commiting. See linkgit:git-commit[1] for more details. In addition, if
++ committing. See linkgit:git-commit[1] for more details. In addition, if
+ the '<mode>' is given a value of scissors, scissors will be appended
+ to MERGE_MSG before being passed on to the commit machinery in the
+ case of a merge conflict.
+
+ diff --git a/Documentation/technical/api-submodule-config.txt b/Documentation/technical/api-submodule-config.txt
+ --- a/Documentation/technical/api-submodule-config.txt
+ +++ b/Documentation/technical/api-submodule-config.txt
+@@
+
+ Whenever a submodule configuration is parsed in parse_submodule_config_option
+ via e.g. gitmodules_config(), it will overwrite the null_sha1 entry.
+-So in the normal case, when HEAD:.gitmodules is parsed first and then overlayed
++So in the normal case, when HEAD:.gitmodules is parsed first and then overlaid
+ with the repository configuration, the null_sha1 entry contains the local
+ configuration of a submodule (e.g. consolidated values from local git
+ configuration and the .gitmodules file in the worktree).
+
diff --git a/Documentation/technical/api-trace2.txt b/Documentation/technical/api-trace2.txt --- a/Documentation/technical/api-trace2.txt
+++ b/Documentation/technical/api-trace2.txt
@@ -552,6 +755,15 @@
--- a/Documentation/technical/hash-function-transition.txt
+++ b/Documentation/technical/hash-function-transition.txt
@@
+ on public-facing Git servers is strongly discouraged. Once Git
+ protocol gains SHA-256 support, SHA-256 based servers are likely not
+ to support SHA-1 compatibility, to avoid what may be a very expensive
+-hash reencode during clone and to encourage peers to modernize.
++hash re-encode during clone and to encourage peers to modernize.
+
+ The design described here allows fetches by SHA-1 clients of a
+ personal SHA-256 repository because it's not much more difficult than
+@@
Choice of Hash
--------------
@@ -583,6 +795,19 @@
- 32-bit count of cache entries in this block
+ diff --git a/Documentation/technical/pack-protocol.txt b/Documentation/technical/pack-protocol.txt
+ --- a/Documentation/technical/pack-protocol.txt
+ +++ b/Documentation/technical/pack-protocol.txt
+@@
+ command-ok = PKT-LINE("ok" SP refname)
+ command-fail = PKT-LINE("ng" SP refname SP error-msg)
+
+- error-msg = 1*(OCTECT) ; where not "ok"
++ error-msg = 1*(OCTET) ; where not "ok"
+ ----
+
+ Updates can be unsuccessful for a number of reasons. The reference can have
+
diff --git a/Documentation/technical/partial-clone.txt b/Documentation/technical/partial-clone.txt --- a/Documentation/technical/partial-clone.txt
+++ b/Documentation/technical/partial-clone.txt
-: ---------- > 2: 812c36a6d4 Fix spelling errors in documentation outside of Documentation/ -: ---------- > 3: 466aead9af Prefer 'up-to-date' spelling -: ---------- > 4: 3f2f8e9a70 Fix spelling errors in code comments -: ---------- > 5: 6e6e5ad549 Fix spelling errors in comments of testcases -: ---------- > 6: a2e17dbc92 Fix spelling errors in names of tests -: ---------- > 7: 6d8bc116c5 Fix spelling errors in messages shown to users -: ---------- > 8: e31ef1184e Fix spelling errors in test commands -: ---------- > 9: f5b8f1cd1c sha1dc: fix trivial comment spelling error -: ---------- > 10: 9767da6f8e multimail: fix a few simple spelling errors -: ---------- > 11: 126faae60f Fix spelling errors in no-longer-updated-from-upstream modules
Signature · 1 line
gitgitgadget
PATCH v2 2/11 Fix spelling errors in documentation outside of Documentation/
From: Elijah Newren <[email protected]>
--- INSTALL | 2 +- contrib/hooks/update-paranoid | 2 +- perl/Git.pm | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
INSTALL +1 -1
@@ -109,7 +109,7 @@ Issues of note: - Git is reasonably self-sufficient, but does depend on a few external programs and libraries. Git can be used without most of them by adding - the approriate "NO_<LIBRARY>=YesPlease" to the make command line or + the appropriate "NO_<LIBRARY>=YesPlease" to the make command line or config.mak file. - "zlib", the compression library. Git won't build without it.
contrib/hooks/update-paranoid +1 -1
@@ -49,7 +49,7 @@ opcode. Repository sections are matched on the basename of the repository (after removing the .git suffix). -The opcode abbrevations are: +The opcode abbreviations are: C: create new ref D: delete existing ref
perl/Git.pm +1 -1
@@ -563,7 +563,7 @@ sub get_record { Query user C<PROMPT> and return answer from user. Honours GIT_ASKPASS and SSH_ASKPASS environment variables for querying -the user. If no *_ASKPASS variable is set or an error occoured, +the user. If no *_ASKPASS variable is set or an error occurred, the terminal is tried as a fallback. If C<ISPASSWORD> is set and true, the terminal disables echo.
Signature · 1 line
gitgitgadget
PATCH v2 3/11 Prefer 'up-to-date' spelling
In reply to Elijah Newren via GitGitGadgetFrom: Elijah Newren <[email protected]>
When we are providing an English error message for users, we should avoid 'uptodate'. According to
https://writingexplained.org/up-to-date-hyphenated, when used as an adjective (i.e. when used as a synonym for 'current') -- which matches our usage -- the correct spelling is up-to-date. (Alternatively, when used as an adverb, the same page points out it is spelled 'up to date'.) In either case, when providing an English error message for users, we shouldn't use 'uptodate'. Correct the spelling.
--- builtin/fetch.c | 2 +- gitk-git/gitk | 2 +- t/t7110-reset-merge.sh | 4 ++-- t/t7609-merge-co-error-msgs.sh | 2 +- unpack-trees.c | 6 +++--- 5 files changed, 8 insertions(+), 8 deletions(-)
builtin/fetch.c +1 -1
@@ -604,7 +604,7 @@ static void adjust_refcol_width(const struct ref *ref) {int max, rlen, llen, len; -/* uptodate lines are only shown on high verbosity level */ +/* up-to-date lines are only shown on high verbosity level */ if (!verbosity &&oideq (&ref->peer_ref->old_oid, &ref->old_oid))return ;
gitk-git/gitk +1 -1
@@ -9696,7 +9696,7 @@ proc cherrypick {} { if {[catch {exec sh -c "git cherry-pick -r $rowmenuid 2>&1"} err]} { notbusy cherrypick if {[regexp -line \ - {Entry '(.*)' (would be overwritten by merge|not uptodate)} \ + {Entry '(.*)' (would be overwritten by merge|not up-to-date)} \ $err msg fname]} { error_popup [mc "Cherry-pick failed because of local changes\ to file '%s'.\nPlease commit, reset or stash\
t/t7110-reset-merge.sh +2 -2
@@ -173,7 +173,7 @@ test_expect_success 'reset --merge fails with changes in file it touches' ' sed -e "s/line 1/changed line 1/" <file1 >file3 && mv file3 file1 && test_must_fail git reset --merge HEAD^ 2>err.log && - grep file1 err.log | grep "not uptodate" + grep file1 err.log | grep "not up-to-date" ' # The next test will test the following:
@@ -189,7 +189,7 @@ test_expect_success 'reset --keep fails with changes in file it touches' ' sed -e "s/line 1/changed line 1/" <file1 >file3 && mv file3 file1 && test_must_fail git reset --keep HEAD^ 2>err.log && - grep file1 err.log | grep "not uptodate" + grep file1 err.log | grep "not up-to-date" ' test_expect_success 'setup 3 different branches' '
t/t7609-merge-co-error-msgs.sh +1 -1
@@ -98,7 +98,7 @@ Please commit your changes or stash them before you switch branches. Aborting EOF -test_expect_success 'not uptodate file porcelain checkout error' ' +test_expect_success 'not up-to-date file porcelain checkout error' ' git add rep/one rep/two && test_must_fail git checkout branch 2>out && test_i18ncmp out expect
unpack-trees.c +3 -3
@@ -29,7 +29,7 @@ static const char *unpack_plumbing_errors[NB_UNPACK_TREES_ERROR_TYPES] = {"Entry '%s' would be overwritten by merge. Cannot merge." ,/* ERROR_NOT_UPTODATE_FILE */ -"Entry '%s' not uptodate. Cannot merge." , +"Entry '%s' not up-to-date. Cannot merge." ,/* ERROR_NOT_UPTODATE_DIR */ "Updating '%s' would lose untracked files in it",
@@ -44,7 +44,7 @@ static const char *unpack_plumbing_errors[NB_UNPACK_TREES_ERROR_TYPES] = {"Entry '%s' overlaps with '%s'. Cannot bind." ,/* ERROR_SPARSE_NOT_UPTODATE_FILE */ -"Entry '%s' not uptodate. Cannot update sparse checkout." , +"Entry '%s' not up-to-date. Cannot update sparse checkout." ,/* ERROR_WOULD_LOSE_ORPHANED_OVERWRITTEN */ "Working tree file '%s' would be overwritten by sparse checkout update.",
@@ -2027,7 +2027,7 @@ static int merged_entry(const struct cache_entry *ce, }else if (!(old->ce_flags &CE_CONFLICTED )) {/* * See if we can re-use the old CE directly? -* That way we get the uptodate stat info. +* That way we get the up-to-date stat info. * * This also removes the UPDATE flag on a match; otherwise * we will end up overwriting local changes in the work tree.
Signature · 1 line
gitgitgadget
PATCH v2 4/11 Fix spelling errors in code comments
In reply to Elijah Newren via GitGitGadgetFrom: Elijah Newren <[email protected]>
--- apply.c | 4 ++-- builtin/fetch.c | 2 +- builtin/gc.c | 4 ++-- builtin/pack-objects.c | 2 +- commit-graph.c | 2 +- commit.h | 2 +- compat/mingw.h | 2 +- compat/vcbuild/find_vs_env.bat | 2 +- configure.ac | 2 +- contrib/coccinelle/commit.cocci | 2 +- contrib/completion/git-completion.bash | 4 ++-- contrib/hooks/post-receive-email | 2 +- convert.c | 2 +- daemon.c | 4 ++-- diff.c | 4 ++-- dir.c | 2 +- git-send-email.perl | 2 +- gitweb/gitweb.perl | 18 +++++++++--------- hashmap.c | 2 +- hashmap.h | 2 +- name-hash.c | 2 +- parse-options.c | 2 +- range-diff.h | 2 +- read-cache.c | 2 +- refs/refs-internal.h | 2 +- repository.c | 4 ++-- repository.h | 2 +- rerere.c | 2 +- sequencer.c | 6 +++--- server-info.c | 2 +- string-list.h | 2 +- trace2/tr2_sid.c | 2 +- unpack-trees.c | 4 ++-- url.c | 2 +- xdiff-interface.h | 2 +- 35 files changed, 52 insertions(+), 52 deletions(-)
apply.c +2 -2
@@ -4183,8 +4183,8 @@ static void show_rename_copy(struct patch *p) old_name = slash_old +1 ; new_name = slash_new +1 ; } -/* p->old_name thru old_name is the common prefix, and old_name and new_name -* through the end of names are renames +/* p->old_name through old_name is the common prefix, and old_name and +* new_name through the end of names are renames */ if (old_name != p->old_name) printf(" %s %.*s{%s => %s} (%d%%)\n", renamecopy,
builtin/fetch.c +1 -1
@@ -1400,7 +1400,7 @@ static int do_fetch(struct transport *transport,/* * We're setting the upstream configuration for the -* current branch. The relevent upstream is the +* current branch. The relevant upstream is the * fetched branch that is meant to be merged with the * current one, i.e. the one fetched to FETCH_HEAD. *
builtin/gc.c +2 -2
@@ -458,7 +458,7 @@ static const char *lock_repo_for_gc(int force, pid_t* ret_pid)/* * Returns 0 if there was no previous error and gc can proceed, 1 if * gc should not proceed due to an error in the last run. Prints a -* message and returns -1 if an error occured while reading gc.log +* message and returns -1 if an error occurred while reading gc.log */ static int report_last_gc_error (void ) {
@@ -601,7 +601,7 @@ int cmd_gc(int argc, const char **argv, const char *prefix)if (detach_auto) {int ret =report_last_gc_error ();if (ret <0 ) -/* an I/O error occured, already reported */ +/* an I/O error occurred, already reported */ exit (128 );if (ret ==1 )/* Last gc --auto failed. Skip this one. */
builtin/pack-objects.c +1 -1
@@ -163,7 +163,7 @@ static void *get_delta(struct object_entry *entry) delta_buf =diff_delta (base_buf, base_size, buf, size, &delta_size,0 );/* -* We succesfully computed this delta once but dropped it for +* We successfully computed this delta once but dropped it for * memory reasons. Something is very wrong if this time we * recompute and create a different delta. */
commit-graph.c +1 -1
@@ -464,7 +464,7 @@ static void prepare_commit_graph_one(struct repository *r, const char *obj_dir)/* * Return 1 if commit_graph is non-NULL, and 0 otherwise. * -* On the first invocation, this function attemps to load the commit +* On the first invocation, this function attempts to load the commit * graph if the_repository is configured to have one. */ static int prepare_commit_graph (struct repository *r)
commit.h +1 -1
@@ -132,7 +132,7 @@ const void *repo_get_commit_buffer(struct repository *r,#endif /* -* Tell the commit subsytem that we are done with a particular commit buffer. +* Tell the commit subsystem that we are done with a particular commit buffer. * The commit and buffer should be the input and return value, respectively, * from an earlier call to get_commit_buffer. The buffer may or may not be * freed by this call; callers should not access the memory afterwards.
compat/mingw.h +1 -1
@@ -558,7 +558,7 @@ int xwcstoutf(char *utf, const wchar_t *wcs, size_t utflen);/* * A critical section used in the implementation of the spawn -* functions (mingw_spawnv[p]e()) and waitpid(). Intialised in +* functions (mingw_spawnv[p]e()) and waitpid(). Initialised in * the replacement main() macro below. */ extern CRITICAL_SECTION pinfo_cs;
compat/vcbuild/find_vs_env.bat +1 -1
@@ -18,7 +18,7 @@ REM and MAKE, we must blend these two different worlds. This script REM attempts to do that. REM ================================================================ REM This BAT file starts in a plain (non-developer) command prompt, -REM searches for the "best" commmand prompt setup script, installs +REM searches for the "best" command prompt setup script, installs REM it into the current CMD process, and exports the various MSVC REM environment variables for use by MAKE. REM
configure.ac +1 -1
@@ -85,7 +85,7 @@ AC_DEFUN([GIT_PARSE_WITH], # GIT_PARSE_WITH_SET_MAKE_VAR(WITHNAME, VAR, HELP_TEXT) # ----------------------------------------------------- -# Set VAR to the value specied by --with-WITHNAME. +# Set VAR to the value specified by --with-WITHNAME. # No verification of arguments is performed, but warnings are issued # if either 'yes' or 'no' is specified. # HELP_TEXT is presented when --help is called.
contrib/coccinelle/commit.cocci +1 -1
@@ -20,7 +20,7 @@ expression s; + set_commit_tree(c, s) ...>} -// These excluded functions must access c->maybe_tree direcly. +// These excluded functions must access c->maybe_tree directly. // Note that if c->maybe_tree is written somewhere outside of these // functions, then the recommended transformation will be bogus with // repo_get_commit_tree() on the LHS.
contrib/completion/git-completion.bash +2 -2
@@ -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)
contrib/hooks/post-receive-email +1 -1
@@ -329,7 +329,7 @@ generate_update_branch_email() # # git rev-parse --not --all | grep -v $(git rev-parse $refname) # - # Get's us to something pretty safe (apart from the small time + # Gets us to something pretty safe (apart from the small time # between refname being read, and git rev-parse running - for that, # I give up) #
convert.c +1 -1
@@ -418,7 +418,7 @@ static int encode_to_git(const char *path, const char *src, size_t src_len,if (!dst) {/* * We could add the blob "as-is" to Git. However, on checkout -* we would try to reencode to the original encoding. This +* we would try to re-encode to the original encoding. This * would fail and we would leave the user with a messed-up * working tree. Let's try to avoid this by screaming loud. */
daemon.c +2 -2
@@ -598,7 +598,7 @@ static void canonicalize_client(struct strbuf *out, const char *in)* Read the host as supplied by the client connection. * * Returns a pointer to the character after the NUL byte terminating the host -* arguemnt, or 'extra_args' if there is no host arguemnt. +* argument, or 'extra_args' if there is no host argument. */ static char *parse_host_arg (struct hostinfo *hi,char *extra_args,int buflen) {
@@ -652,7 +652,7 @@ static void parse_extra_args(struct hostinfo *hi, struct argv_array *env,* service that will be run. * * If there ends up being a particular arg in the future that -* git-daemon needs to parse specificly (like the 'host' arg) +* git-daemon needs to parse specifically (like the 'host' arg) * then it can be parsed here and not added to 'git_protocol'. */ if (*arg) {
diff.c +2 -2
@@ -2551,7 +2551,7 @@ static int scale_linear(int it, int width, int max_change)/* * make sure that at least one '-' or '+' is printed if * there is any change to this path. The easiest way is to -* scale linearly as if the alloted width is one column shorter +* scale linearly as if the allotted width is one column shorter * than it is, and then add 1 to the result. */ return 1 + (it * (width -1 ) / max_change);
@@ -3196,7 +3196,7 @@ static int is_conflict_marker(const char *line, int marker_size, unsigned long lfor (cnt =1 ; cnt < marker_size; cnt++)if (line[cnt] != firstchar)return 0 ; -/* line[1] thru line[marker_size-1] are same as firstchar */ +/* line[1] through line[marker_size-1] are same as firstchar */ if (len < marker_size +1 || !isspace (line[marker_size]))return 0 ;return 1 ;
dir.c +1 -1
@@ -2489,7 +2489,7 @@ static int remove_dir_recurse(struct strbuf *path, int flag, int *kept_up)* wanted anyway */ continue ; -/* fall thru */ +/* fall through */ }else if (S_ISDIR (st.st_mode)) {if (!remove_dir_recurse (path, flag, &kept_down))continue ;/* happy */
git-send-email.perl +1 -1
@@ -1228,7 +1228,7 @@ sub process_address_list { # domain name that corresponds the IP address in the HELO/EHLO # handshake. This is used to verify the connection and prevent # spammers from trying to hide their identity. If the DNS and IP don't -# match, the receiveing MTA may deny the connection. +# match, the receiving MTA may deny the connection. # # Here is a deny example of Net::SMTP with the default "localhost.localdomain" #
gitweb/gitweb.perl +9 -9
@@ -1657,15 +1657,15 @@ sub quot_cec { my $cntrl = shift; my %opts = @_; my %es = ( # character escape codes, aka escape sequences - "\t" => '\t', # tab (HT) - "\n" => '\n', # line feed (LF) - "\r" => '\r', # carrige return (CR) - "\f" => '\f', # form feed (FF) - "\b" => '\b', # backspace (BS) - "\a" => '\a', # alarm (bell) (BEL) - "\e" => '\e', # escape (ESC) - "\013" => '\v', # vertical tab (VT) - "\000" => '\0', # nul character (NUL) + "\t" => '\t', # tab (HT) + "\n" => '\n', # line feed (LF) + "\r" => '\r', # carriage return (CR) + "\f" => '\f', # form feed (FF) + "\b" => '\b', # backspace (BS) + "\a" => '\a', # alarm (bell) (BEL) + "\e" => '\e', # escape (ESC) + "\013" => '\v', # vertical tab (VT) + "\000" => '\0', # nul character (NUL) ); my $chr = ( (exists $es{$cntrl}) ? $es{$cntrl}
hashmap.c +1 -1
@@ -51,7 +51,7 @@ unsigned int memihash(const void *buf, size_t len) }/* -* Incoporate another chunk of data into a memihash +* Incorporate another chunk of data into a memihash * computation. */ unsigned int memihash_cont (unsigned int hash_seed,const void *buf,size_t len)
hashmap.h +1 -1
@@ -502,7 +502,7 @@ static inline void hashmap_disable_item_counting(struct hashmap *map) }/* -* Re-enable item couting when adding/removing items. +* Re-enable item counting when adding/removing items. * If counting is currently disabled, it will force count them. * It WILL NOT automatically rehash them. */
name-hash.c +1 -1
@@ -138,7 +138,7 @@ static int lazy_nr_dir_threads;/* * Set a minimum number of cache_entries that we will handle per -* thread and use that to decide how many threads to run (upto +* thread and use that to decide how many threads to run (up to * the number on the system). * * For guidance setting the lower per-thread bound, see:
parse-options.c +1 -1
@@ -623,7 +623,7 @@ static int show_gitcomp(const struct option *opts)* Scan and may produce a new option[] array, which should be used * instead of the original 'options'. * -* Right now this is only used to preprocess and substitue +* Right now this is only used to preprocess and substitute * OPTION_ALIAS. */ static struct option *preprocess_options(struct parse_opt_ctx_t *ctx,
range-diff.h +1 -1
@@ -6,7 +6,7 @@#define RANGE_DIFF_CREATION_FACTOR_DEFAULT 60/* -* Compare series of commmits in RANGE1 and RANGE2, and emit to the +* Compare series of commits in RANGE1 and RANGE2, and emit to the * standard output. NULL can be passed to DIFFOPT to use the built-in * default. */
read-cache.c +1 -1
@@ -1790,7 +1790,7 @@ static struct cache_entry *create_from_disk(struct mem_pool *ce_mem_pool,const unsigned char *cp = (const unsigned char *)name;size_t strip_len, previous_len; -/* If we're at the begining of a block, ignore the previous name */ +/* If we're at the beginning of a block, ignore the previous name */ strip_len =decode_varint (&cp);if (previous_ce) { previous_len = previous_ce->ce_namelen;
refs/refs-internal.h +1 -1
@@ -262,7 +262,7 @@ int refs_rename_ref_available(struct ref_store *refs,* after calling ref_iterator_advance() again or calling * ref_iterator_abort(), you must make a copy. When the iteration has * been exhausted, ref_iterator_advance() releases any resources -* assocated with the iteration, frees the ref_iterator object, and +* associated with the iteration, frees the ref_iterator object, and * returns ITER_DONE. If you want to abort the iteration early, call * ref_iterator_abort(), which also frees the ref_iterator object and * any associated resources. If there was an internal error advancing
repository.c +2 -2
@@ -200,9 +200,9 @@ int repo_submodule_init(struct repository *subrepo,if (repo_init (subrepo, gitdir.buf, worktree.buf)) {/* -* If initilization fails then it may be due to the submodule +* If initialization fails then it may be due to the submodule * not being populated in the superproject's worktree. Instead -* we can try to initilize the submodule by finding it's gitdir +* we can try to initialize the submodule by finding it's gitdir * in the superproject's 'modules' directory. In this case the * submodule would not have a worktree. */
repository.h +1 -1
@@ -172,7 +172,7 @@ void repo_clear(struct repository *repo);* be allocated if needed. * * Return the number of index entries in the populated index or a value less -* than zero if an error occured. If the repository's index has already been +* than zero if an error occurred. If the repository's index has already been * populated then the number of entries will simply be returned. */ int repo_read_index (struct repository *repo);
rerere.c +1 -1
@@ -431,7 +431,7 @@ static int handle_conflict(struct strbuf *out, struct rerere_io *io,* and NUL concatenated together. * * Return 1 if conflict hunks are found, 0 if there are no conflict -* hunks and -1 if an error occured. +* hunks and -1 if an error occurred. */ static int handle_path (unsigned char *hash,struct rerere_io *io,int marker_size) {
sequencer.c +3 -3
@@ -131,7 +131,7 @@ static GIT_PATH_FUNC(rebase_path_rewritten_pending, "rebase-merge/rewritten-pending")/* -* The path of the file containig the OID of the "squash onto" commit, i.e. +* The path of the file containing the OID of the "squash onto" commit, i.e. * the dummy commit used for `reset [new root]`. */ static GIT_PATH_FUNC(rebase_path_squash_onto, "rebase-merge/squash-onto")
@@ -4644,7 +4644,7 @@ static int make_script_with_merges(struct pretty_print_context *pp,label_oid (oid,"branch-point" , &state); } -/* Add HEAD as implict "tip of branch" */ +/* Add HEAD as implicit "tip of branch" */ if (!iter->next) tips_tail = &commit_list_insert (iter->item, tips_tail)->next;
@@ -4826,7 +4826,7 @@ void todo_list_add_exec_commands(struct todo_list *todo_list,* are considered part of the pick, so we insert the commands *after* * those chains if there are any. * -* As we insert the exec commands immediatly after rearranging +* As we insert the exec commands immediately after rearranging * any fixups and before the user edits the list, a fixup chain * can never contain comments (any comments are empty picks that * have been commented out because the user did not specify
server-info.c +1 -1
@@ -93,7 +93,7 @@ static int update_info_file(char *path, uic.old_fp =fopen_or_warn (path,"r" );/* -* uic_printf will compare incremental comparison aginst old_fp +* uic_printf will compare incremental comparison against old_fp * and mark uic as stale if needed */ ret =generate (&uic);
string-list.h +1 -1
@@ -179,7 +179,7 @@ void string_list_remove(struct string_list *list, const char *string,/** * Check if the given string is part of a sorted list. If it is part of the list, -* return the coresponding string_list_item, NULL otherwise. +* return the corresponding string_list_item, NULL otherwise. */ struct string_list_item *string_list_lookup (struct string_list *list,const char *string);
trace2/tr2_sid.c +1 -1
@@ -19,7 +19,7 @@ static int tr2sid_nr_git_parents;* "H<first_8_chars_of_sha1_of_hostname>" * "Localhost" when no hostname. * -* where <process> is a 9 character string containing the least signifcant +* where <process> is a 9 character string containing the least significant * 32 bits in the process-id. * "P<pid>" * (This is an abribrary choice. On most systems pid_t is a 32 bit value,
unpack-trees.c +2 -2
@@ -275,9 +275,9 @@ static int check_submodule_move_head(const struct cache_entry *ce, }/* -* Preform the loading of the repository's gitmodules file. This function is +* Perform the loading of the repository's gitmodules file. This function is * used by 'check_update()' to perform loading of the gitmodules file in two -* differnt situations: +* different situations: * (1) before removing entries from the working tree if the gitmodules file has * been marked for removal. This situation is specified by 'state' == NULL. * (2) before checking out entries to the working tree if the gitmodules file
url.c +1 -1
@@ -5,7 +5,7 @@ int is_urlschemechar(int first_flag, int ch) {/* * The set of valid URL schemes, as per STD66 (RFC3986) is -* '[A-Za-z][A-Za-z0-9+.-]*'. But use sightly looser check +* '[A-Za-z][A-Za-z0-9+.-]*'. But use slightly looser check * of '[A-Za-z0-9][A-Za-z0-9+.-]*' because earlier version * of check used '[A-Za-z0-9]+' so not to break any remote * helpers.
xdiff-interface.h +1 -1
@@ -44,7 +44,7 @@ void discard_hunk_line(void *priv,* Compare the strings l1 with l2 which are of size s1 and s2 respectively. * Returns 1 if the strings are deemed equal, 0 otherwise. * The `flags` given as XDF_WHITESPACE_FLAGS determine how white spaces -* are treated for the comparision. +* are treated for the comparison. */ int xdiff_compare_lines (const char *l1,long s1,const char *l2,long s2,long flags);
Signature · 1 line
gitgitgadget
PATCH v2 5/11 Fix spelling errors in comments of testcases
In reply to Elijah Newren via GitGitGadgetFrom: Elijah Newren <[email protected]>
--- t/t0000-basic.sh | 2 +- t/t0027-auto-crlf.sh | 2 +- t/t0500-progress-display.sh | 4 ++-- t/t1512-rev-parse-disambiguation.sh | 2 +- t/t4100/t-apply-3.patch | 2 +- t/t4100/t-apply-7.patch | 2 +- t/t4213-log-tabexpand.sh | 2 +- t/t5528-push-default.sh | 2 +- t/t5702-protocol-v2.sh | 4 ++-- t/t6043-merge-rename-directories.sh | 6 +++--- t/t7519-status-fsmonitor.sh | 2 +- t/t9350-fast-export.sh | 2 +- t/t9809-git-p4-client-view.sh | 2 +- t/t9902-completion.sh | 2 +- 14 files changed, 18 insertions(+), 18 deletions(-)
t/t0000-basic.sh +1 -1
@@ -126,7 +126,7 @@ check_sub_test_lib_test () { check_sub_test_lib_test_err () { name="$1" # stdin is the expected output from the test - # expected error output is in descriptior 3 + # expected error output is in descriptor 3 ( cd "$name" && sed -e 's/^> //' -e 's/Z$//' >expect.out &&
t/t0027-auto-crlf.sh +1 -1
@@ -215,7 +215,7 @@ stats_ascii () { } -# contruct the attr/ returned by git ls-files --eol +# construct the attr/ returned by git ls-files --eol # Take none (=empty), one or two args # convert.c: eol=XX overrides text=auto attr_ascii () {
t/t0500-progress-display.sh +2 -2
@@ -76,7 +76,7 @@ EOF ' test_expect_success 'progress display breaks long lines #2' ' - # Note: we dont need that many spaces after the title to cover up + # Note: we do not need that many spaces after the title to cover up # the last line before breaking the progress line. sed -e "s/Z$//" >expect <<\EOF && Working hard.......2.........3.........4.........5.........6: 0% (1/100000)<CR>
@@ -104,7 +104,7 @@ EOF ' test_expect_success 'progress display breaks long lines #3 - even the first is too long' ' - # Note: we dont actually need any spaces at the end of the title + # Note: we do not actually need any spaces at the end of the title # line, because there is no previous progress line to cover up. sed -e "s/Z$//" >expect <<\EOF && Working hard.......2.........3.........4.........5.........6: Z
t/t1512-rev-parse-disambiguation.sh +1 -1
@@ -339,7 +339,7 @@ test_expect_success C_LOCALE_OUTPUT 'ambiguity hints' ' test_expect_success C_LOCALE_OUTPUT 'ambiguity hints respect type' ' test_must_fail git rev-parse 000000000^{commit} 2>stderr && grep ^hint: stderr >hints && - # 5 commits, 1 tag (which is a commitish), plus intro line + # 5 commits, 1 tag (which is a committish), plus intro line test_line_count = 7 hints '
t/t4100/t-apply-3.patch +1 -1
@@ -211,7 +211,7 @@ dissimilarity index 82% - - /* If this is an exact directory match, we may have - * directory files following this path. Match on them. -- * Otherwise, we're at a pach subcomponent, and we need +- * Otherwise, we're at a patch subcomponent, and we need - * to try to match again. - */ - if (mtype == 0)
t/t4100/t-apply-7.patch +1 -1
@@ -335,7 +335,7 @@ diff a/ls-tree.c b/ls-tree.c - /* If this is an exact directory match, we may have - * directory files following this path. Match on them. -- * Otherwise, we're at a pach subcomponent, and we need +- * Otherwise, we're at a patch subcomponent, and we need - * to try to match again. + if (e->directory) { + /* If this is a directory, we have the following cases:
t/t4213-log-tabexpand.sh +1 -1
@@ -36,7 +36,7 @@ count_expand () esac # Prefix the output with the command line arguments, and - # replace SP with a dot both in the expecte and actual output + # replace SP with a dot both in the expected and actual output # so that test_cmp would show the difference together with the # breakage in a way easier to consume by the debugging user. {
t/t5528-push-default.sh +1 -1
@@ -163,7 +163,7 @@ test_pushdefault_workflow success current master # update parent1's foo (which is our upstream) test_pushdefault_workflow success upstream foo -# upsream is foo which is not the name of the current branch +# upstream is foo which is not the name of the current branch test_pushdefault_workflow failure simple master # master and foo are updated
t/t5702-protocol-v2.sh +2 -2
@@ -682,9 +682,9 @@ test_expect_success 'push with http:// and a config of v2 does not request v2' ' git -C "$HTTPD_DOCUMENT_ROOT_PATH/http_parent" log -1 --format=%s client_branch >expect && test_cmp expect actual && - # Client didnt request to use protocol v2 + # Client did not request to use protocol v2 ! grep "Git-Protocol: version=2" log && - # Server didnt respond using protocol v2 + # Server did not respond using protocol v2 ! grep "git< version 2" log '
t/t6043-merge-rename-directories.sh +3 -3
@@ -744,7 +744,7 @@ test_expect_success '3b-check: Avoid implicit rename if involved as source on cu # # What if we were to attempt to do directory rename detection when someone # "mostly" moved a directory but still left some files around, or, -# equivalently, fully renamed a directory in one commmit and then recreated +# equivalently, fully renamed a directory in one commit and then recreated # that directory in a later commit adding some new files and then tried to # merge? #
@@ -941,7 +941,7 @@ test_expect_success '5a-check: Merge directories, other side adds files to origi # Commit B: z/{b,c,d_1,e}, y/d_3 # Expected: y/{b,c,e}, CONFLICT(add/add: y/d_2 vs. y/d_3) # NOTE: If z/d_1 in commit B were to be involved in dir rename detection, as -# we normaly would since z/ is being renamed to y/, then this would be +# we normally would since z/ is being renamed to y/, then this would be # a rename/delete (z/d_1 -> y/d_1 vs. deleted) AND an add/add/add # conflict of y/d_1 vs. y/d_2 vs. y/d_3. Add/add/add is not # representable in the index, so the existence of y/d_3 needs to
@@ -2089,7 +2089,7 @@ test_expect_success '8b-check: Dual-directory rename, one into the others way, w # # Note: It could easily be argued that the correct resolution here is # y/{b,c,e}, CONFLICT(rename/delete: z/d -> y/d vs deleted) -# and that the modifed version of d should be present in y/ after +# and that the modified version of d should be present in y/ after # the merge, just marked as conflicted. Indeed, I previously did # argue that. But applying directory renames to the side of # history where a file is merely modified results in spurious
t/t7519-status-fsmonitor.sh +1 -1
@@ -294,7 +294,7 @@ do done done -# test that splitting the index dosn't interfere +# test that splitting the index doesn't interfere test_expect_success 'splitting the index results in the same state' ' write_integration_script && dirty_repo &&
t/t9350-fast-export.sh +1 -1
@@ -541,7 +541,7 @@ test_expect_success 'tree_tag' ' # NEEDSWORK: not just check return status, but validate the output # Note that these tests DO NOTHING other than print a warning that -# they are ommitting the one tag we asked them to export (because the +# they are omitting the one tag we asked them to export (because the # tags resolve to a tree). They exist just to make sure we do not # abort but instead just warn. test_expect_success 'tree_tag-obj' 'git fast-export tree_tag-obj'
t/t9809-git-p4-client-view.sh +1 -1
@@ -407,7 +407,7 @@ test_expect_success 'reinit depot' ' ' # -# What happens when two files of the same name are overlayed together? +# What happens when two files of the same name are overlaid together? # The last-listed file should take preference. # # //depot
t/t9902-completion.sh +1 -1
@@ -1257,7 +1257,7 @@ test_path_completion () # In the following tests calling this function we only # care about how __git_complete_index_file() deals with # unusual characters in path names. By requesting only - # untracked files we dont have to bother adding any + # untracked files we do not have to bother adding any # paths to the index in those tests. __git_complete_index_file --others && print_comp
Signature · 1 line
gitgitgadget
PATCH v2 6/11 Fix spelling errors in names of tests
In reply to Elijah Newren via GitGitGadgetFrom: Elijah Newren <[email protected]>
--- t/t1050-large.sh | 6 +++--- t/t4041-diff-submodule-option.sh | 20 ++++++++++---------- t/t4057-diff-combined-paths.sh | 2 +- t/t4205-log-pretty-formats.sh | 2 +- t/t5535-fetch-push-symref.sh | 2 +- t/t5702-protocol-v2.sh | 6 +++--- t/t7004-tag.sh | 2 +- t/t7508-status.sh | 2 +- t/t7513-interpret-trailers.sh | 2 +- t/t9001-send-email.sh | 2 +- t/t9301-fast-import-notes.sh | 2 +- t/t9902-completion.sh | 4 ++-- 12 files changed, 26 insertions(+), 26 deletions(-)
t/t1050-large.sh +3 -3
@@ -194,15 +194,15 @@ test_expect_success 'pack-objects with large loose object' ' test_cmp huge actual ' -test_expect_success 'tar achiving' ' +test_expect_success 'tar archiving' ' git archive --format=tar HEAD >/dev/null ' -test_expect_success 'zip achiving, store only' ' +test_expect_success 'zip archiving, store only' ' git archive --format=zip -0 HEAD >/dev/null ' -test_expect_success 'zip achiving, deflate' ' +test_expect_success 'zip archiving, deflate' ' git archive --format=zip HEAD >/dev/null '
t/t4041-diff-submodule-option.sh +10 -10
@@ -284,7 +284,7 @@ test_expect_success 'submodule contains untracked content (all ignored)' ' test_must_be_empty actual ' -test_expect_success 'submodule contains untracked and modifed content' ' +test_expect_success 'submodule contains untracked and modified content' ' echo new > sm1/foo6 && git diff-index -p --submodule=log HEAD >actual && cat >expected <<-EOF &&
@@ -294,7 +294,7 @@ test_expect_success 'submodule contains untracked and modifed content' ' test_cmp expected actual ' -test_expect_success 'submodule contains untracked and modifed content (untracked ignored)' ' +test_expect_success 'submodule contains untracked and modified content (untracked ignored)' ' echo new > sm1/foo6 && git diff-index -p --ignore-submodules=untracked --submodule=log HEAD >actual && cat >expected <<-EOF &&
@@ -303,19 +303,19 @@ test_expect_success 'submodule contains untracked and modifed content (untracked test_cmp expected actual ' -test_expect_success 'submodule contains untracked and modifed content (dirty ignored)' ' +test_expect_success 'submodule contains untracked and modified content (dirty ignored)' ' echo new > sm1/foo6 && git diff-index -p --ignore-submodules=dirty --submodule=log HEAD >actual && test_must_be_empty actual ' -test_expect_success 'submodule contains untracked and modifed content (all ignored)' ' +test_expect_success 'submodule contains untracked and modified content (all ignored)' ' echo new > sm1/foo6 && git diff-index -p --ignore-submodules --submodule=log HEAD >actual && test_must_be_empty actual ' -test_expect_success 'submodule contains modifed content' ' +test_expect_success 'submodule contains modified content' ' rm -f sm1/new-file && git diff-index -p --submodule=log HEAD >actual && cat >expected <<-EOF &&
@@ -369,7 +369,7 @@ test_expect_success 'modified submodule contains untracked content (all ignored) test_must_be_empty actual ' -test_expect_success 'modified submodule contains untracked and modifed content' ' +test_expect_success 'modified submodule contains untracked and modified content' ' echo modification >> sm1/foo6 && git diff-index -p --submodule=log HEAD >actual && cat >expected <<-EOF &&
@@ -381,7 +381,7 @@ test_expect_success 'modified submodule contains untracked and modifed content' test_cmp expected actual ' -test_expect_success 'modified submodule contains untracked and modifed content (untracked ignored)' ' +test_expect_success 'modified submodule contains untracked and modified content (untracked ignored)' ' echo modification >> sm1/foo6 && git diff-index -p --ignore-submodules=untracked --submodule=log HEAD >actual && cat >expected <<-EOF &&
@@ -392,7 +392,7 @@ test_expect_success 'modified submodule contains untracked and modifed content ( test_cmp expected actual ' -test_expect_success 'modified submodule contains untracked and modifed content (dirty ignored)' ' +test_expect_success 'modified submodule contains untracked and modified content (dirty ignored)' ' echo modification >> sm1/foo6 && git diff-index -p --ignore-submodules=dirty --submodule=log HEAD >actual && cat >expected <<-EOF &&
@@ -402,13 +402,13 @@ test_expect_success 'modified submodule contains untracked and modifed content ( test_cmp expected actual ' -test_expect_success 'modified submodule contains untracked and modifed content (all ignored)' ' +test_expect_success 'modified submodule contains untracked and modified content (all ignored)' ' echo modification >> sm1/foo6 && git diff-index -p --ignore-submodules --submodule=log HEAD >actual && test_must_be_empty actual ' -test_expect_success 'modified submodule contains modifed content' ' +test_expect_success 'modified submodule contains modified content' ' rm -f sm1/new-file && git diff-index -p --submodule=log HEAD >actual && cat >expected <<-EOF &&
t/t4057-diff-combined-paths.sh +1 -1
@@ -33,7 +33,7 @@ test_expect_success 'trivial merge - combine-diff empty' ' ' -test_expect_success 'only one trully conflicting path' ' +test_expect_success 'only one truly conflicting path' ' git checkout side && for i in $(test_seq 2 9) do
t/t4205-log-pretty-formats.sh +1 -1
@@ -640,7 +640,7 @@ test_expect_success 'pretty format %(trailers:key=foo) multiple keys' ' test_cmp expect actual ' -test_expect_success '%(trailers:key=nonexistant) becomes empty' ' +test_expect_success '%(trailers:key=nonexistent) becomes empty' ' git log --no-walk --pretty="x%(trailers:key=Nacked-by)x" >actual && echo "xx" >expect && test_cmp expect actual
t/t5535-fetch-push-symref.sh +1 -1
@@ -1,6 +1,6 @@ #!/bin/sh -test_description='avoiding conflicting update thru symref aliasing' +test_description='avoiding conflicting update through symref aliasing' . ./test-lib.sh
t/t5702-protocol-v2.sh +3 -3
@@ -32,7 +32,7 @@ test_expect_success 'list refs with git:// using protocol v2' ' test_cmp expect actual ' -test_expect_success 'ref advertisment is filtered with ls-remote using protocol v2' ' +test_expect_success 'ref advertisement is filtered with ls-remote using protocol v2' ' test_when_finished "rm -f log" && GIT_TRACE_PACKET="$(pwd)/log" git -c protocol.version=2 \
@@ -154,7 +154,7 @@ test_expect_success 'list refs with file:// using protocol v2' ' test_cmp expect actual ' -test_expect_success 'ref advertisment is filtered with ls-remote using protocol v2' ' +test_expect_success 'ref advertisement is filtered with ls-remote using protocol v2' ' test_when_finished "rm -f log" && GIT_TRACE_PACKET="$(pwd)/log" git -c protocol.version=2 \
@@ -225,7 +225,7 @@ test_expect_success 'fetch with file:// using protocol v2' ' grep "fetch< version 2" log ' -test_expect_success 'ref advertisment is filtered during fetch using protocol v2' ' +test_expect_success 'ref advertisement is filtered during fetch using protocol v2' ' test_when_finished "rm -f log" && test_commit -C file_parent three &&
t/t7004-tag.sh +1 -1
@@ -1420,7 +1420,7 @@ test_expect_success \ get_tag_header reuse $commit commit $time >expect echo "An annotation to be reused" >> expect test_expect_success \ - 'overwriting an annoted tag should use its previous body' ' + 'overwriting an annotated tag should use its previous body' ' git tag -a -m "An annotation to be reused" reuse && GIT_EDITOR=true git tag -f -a reuse && get_tag_msg reuse >actual &&
t/t7508-status.sh +1 -1
@@ -1571,7 +1571,7 @@ test_expect_success '"status.showStash=true" weaker than "--no-show-stash"' ' test_cmp expected_without_stash actual ' -test_expect_success 'no additionnal info if no stash entries' ' +test_expect_success 'no additional info if no stash entries' ' git stash clear && git -c status.showStash=true status >actual && test_cmp expected_without_stash actual
t/t7513-interpret-trailers.sh +1 -1
@@ -1234,7 +1234,7 @@ test_expect_success 'with simple command' ' test_cmp expected actual ' -test_expect_success 'with command using commiter information' ' +test_expect_success 'with command using committer information' ' git config trailer.sign.ifExists "addIfDifferent" && git config trailer.sign.command "echo \"\$GIT_COMMITTER_NAME <\$GIT_COMMITTER_EMAIL>\"" && cat complex_message_body >expected &&
t/t9001-send-email.sh +1 -1
@@ -1260,7 +1260,7 @@ test_expect_success $PREREQ 'sendemail.identity: --no-identity clears previous i grep "To: [email protected]" stdout ' -test_expect_success $PREREQ 'sendemail.identity: bool identity variable existance overrides' ' +test_expect_success $PREREQ 'sendemail.identity: bool identity variable existence overrides' ' git -c sendemail.identity=cloud \ -c sendemail.xmailer=true \ -c sendemail.cloud.xmailer=false \
t/t9301-fast-import-notes.sh +1 -1
@@ -275,7 +275,7 @@ $whitespace third note for first commit EXPECT_END -test_expect_success 'add concatentation notes with M command' ' +test_expect_success 'add concatenation notes with M command' ' git fast-import <input && GIT_NOTES_REF=refs/notes/test git log | grep "^ " > actual &&
t/t9902-completion.sh +2 -2
@@ -378,7 +378,7 @@ test_expect_success '__gitdir - finds repo' ' ' -test_expect_success '__gitdir - returns error when cant find repo' ' +test_expect_success '__gitdir - returns error when cannot find repo' ' ( __git_dir="non-existing" && test_must_fail __gitdir >"$actual"
@@ -945,7 +945,7 @@ test_expect_success 'setup for filtering matching refs' ' rm -f .git/FETCH_HEAD ' -test_expect_success '__git_refs - dont filter refs unless told so' ' +test_expect_success '__git_refs - do not filter refs unless told so' ' cat >expected <<-EOF && HEAD master
Signature · 1 line
gitgitgadget
PATCH v2 7/11 Fix spelling errors in messages shown to users
In reply to Elijah Newren via GitGitGadgetFrom: Elijah Newren <[email protected]>
--- contrib/svn-fe/svnrdump_sim.py | 2 +- git-cvsimport.perl | 2 +- help.c | 2 +- t/perf/bisect_regression | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-)
contrib/svn-fe/svnrdump_sim.py +1 -1
@@ -54,7 +54,7 @@ def writedump(url, lower, upper): print("usage: %s dump URL -rLOWER:UPPER") sys.exit(1) if not sys.argv[1] == 'dump': - raise NotImplementedError('only "dump" is suppported.') + raise NotImplementedError('only "dump" is supported.') url = sys.argv[2] r = ('0', 'HEAD') if len(sys.argv) == 4 and sys.argv[3][0:2] == '-r':
git-cvsimport.perl +1 -1
@@ -600,7 +600,7 @@ package main; sub pdate($) { my ($d) = @_; m#(\d{2,4})/(\d\d)/(\d\d)\s(\d\d):(\d\d)(?::(\d\d))?# - or die "Unparseable date: $d\n"; + or die "Unparsable date: $d\n"; my $y=$1; $y+=100 if $y<70; $y+=1900 if $y<1000;
help.c +1 -1
@@ -34,7 +34,7 @@ static struct category_description main_categories[] = { { CAT_foreignscminterface, N_("Interacting with Others") }, { CAT_plumbingmanipulators, N_("Low-level Commands / Manipulators") }, { CAT_plumbinginterrogators, N_("Low-level Commands / Interrogators") }, - { CAT_synchingrepositories, N_("Low-level Commands / Synching Repositories") }, + { CAT_synchingrepositories, N_("Low-level Commands / Syncing Repositories") }, { CAT_purehelpers, N_("Low-level Commands / Internal Helpers") }, { 0, NULL } };
t/perf/bisect_regression +1 -1
@@ -51,7 +51,7 @@ oldtime=$(echo "$oldtime" | sed -e 's/^\([0-9]\+\.[0-9]\+\).*$/\1/') newtime=$(echo "$newtime" | sed -e 's/^\([0-9]\+\.[0-9]\+\).*$/\1/') test $(echo "$newtime" "$oldtime" | awk '{ print ($1 > $2) }') = 1 || - die "New time '$newtime' shoud be greater than old time '$oldtime'" + die "New time '$newtime' should be greater than old time '$oldtime'" tmpdir=$(mktemp -d -t bisect_regression_XXXXXX) || die "Failed to create temp directory" echo "$oldtime" >"$tmpdir/oldtime" || die "Failed to write to '$tmpdir/oldtime'"
Signature · 1 line
gitgitgadget
PATCH v2 8/11 Fix spelling errors in test commands
In reply to Elijah Newren via GitGitGadgetFrom: Elijah Newren <[email protected]>
Apply several spelling fixes that technically change what the tests are executing, but do so in a way that is not tested and does not affect results (e.g. modify the commit message to remove a typo, remove spelling mistakes from refnames, etc.)
--- t/t3210-pack-refs.sh | 2 +- t/t3905-stash-include-untracked.sh | 4 ++-- t/t4100/t-apply-1.patch | 4 ++-- t/t4100/t-apply-5.patch | 4 ++-- t/t5545-push-options.sh | 2 +- t/t6036-recursive-corner-cases.sh | 4 ++-- t/t7030-verify-tag.sh | 14 +++++++------- 7 files changed, 17 insertions(+), 17 deletions(-)
t/t3210-pack-refs.sh +1 -1
@@ -240,7 +240,7 @@ test_expect_success 'retry acquiring packed-refs.lock' ' test_expect_success SYMLINKS 'pack symlinked packed-refs' ' # First make sure that symlinking works when reading: - git update-ref refs/heads/loosy refs/heads/master && + git update-ref refs/heads/lossy refs/heads/master && git for-each-ref >all-refs-before && mv .git/packed-refs .git/my-deviant-packed-refs && ln -s my-deviant-packed-refs .git/packed-refs &&
t/t3905-stash-include-untracked.sh +2 -2
@@ -277,8 +277,8 @@ test_expect_success 'stash -u -- <ignored> leaves ignored file alone' ' test_path_is_file ignored.d/bar ' -test_expect_success 'stash -u -- <non-existant> shows no changes when there are none' ' - git stash push -u -- non-existant >actual && +test_expect_success 'stash -u -- <non-existent> shows no changes when there are none' ' + git stash push -u -- non-existent >actual && echo "No local changes to save" >expect && test_i18ncmp expect actual '
t/t4100/t-apply-1.patch +2 -2
@@ -75,8 +75,8 @@ diff --git a/Documentation/git.txt b/Documentation/git.txt +link:git-ssh-pull.html[git-ssh-pull]:: Pulls from a remote repository over ssh connection - Interogators: -@@ -156,8 +156,8 @@ Interogators: + Interrogators: +@@ -156,8 +156,8 @@ Interrogators: link:git-diff-helper.html[git-diff-helper]:: Generates patch format output for git-diff-*
t/t4100/t-apply-5.patch +2 -2
@@ -185,8 +185,8 @@ diff a/Documentation/git.txt b/Documentation/git.txt +link:git-ssh-pull.html[git-ssh-pull]:: Pulls from a remote repository over ssh connection - Interogators: -@@ -156,8 +156,8 @@ Interogators: + Interrogators: +@@ -156,8 +156,8 @@ Interrogators: link:git-diff-helper.html[git-diff-helper]:: Generates patch format output for git-diff-*
t/t5545-push-options.sh +1 -1
@@ -115,7 +115,7 @@ test_expect_success 'push options and submodules' ' git -C parent submodule add ../upstream workbench && git -C parent/workbench remote add up ../../upstream && - git -C parent commit -m "add submoule" && + git -C parent commit -m "add submodule" && test_commit -C parent/workbench two && git -C parent add workbench &&
t/t6036-recursive-corner-cases.sh +2 -2
@@ -1532,7 +1532,7 @@ test_expect_success 'setup nested conflicts' ' mv -f b_R1 b && mv -f a_R1 a && git add b a && - test_tick && git commit -m "verson R1 of files" && + test_tick && git commit -m "version R1 of files" && git tag R1 && # Create first merge on left side
@@ -1696,7 +1696,7 @@ test_expect_success 'setup virtual merge base with nested conflicts' ' git checkout R && echo right >>content && git add content && - test_tick && git commit -m "verson R1 of content" && + test_tick && git commit -m "version R1 of content" && git tag R1 && # Create L2
t/t7030-verify-tag.sh +7 -7
@@ -44,8 +44,8 @@ test_expect_success GPG 'create signed tags' ' test_expect_success GPGSM 'create signed tags x509 ' ' test_config gpg.format x509 && test_config user.signingkey $GIT_COMMITTER_EMAIL && - echo 9 >file && test_tick && git commit -a -m "nineth gpgsm-signed" && - git tag -s -m nineth nineth-signed-x509 + echo 9 >file && test_tick && git commit -a -m "ninth gpgsm-signed" && + git tag -s -m ninth ninth-signed-x509 ' test_expect_success GPG 'verify and show signatures' '
@@ -80,10 +80,10 @@ test_expect_success GPG 'verify and show signatures' ' ' test_expect_success GPGSM 'verify and show signatures x509' ' - git verify-tag nineth-signed-x509 2>actual && + git verify-tag ninth-signed-x509 2>actual && grep "Good signature from" actual && ! grep "BAD signature from" actual && - echo nineth-signed-x509 OK + echo ninth-signed-x509 OK ' test_expect_success GPG 'detect fudged signature' '
@@ -127,10 +127,10 @@ test_expect_success GPG 'verify signatures with --raw' ' ' test_expect_success GPGSM 'verify signatures with --raw x509' ' - git verify-tag --raw nineth-signed-x509 2>actual && + git verify-tag --raw ninth-signed-x509 2>actual && grep "GOODSIG" actual && ! grep "BADSIG" actual && - echo nineth-signed-x509 OK + echo ninth-signed-x509 OK ' test_expect_success GPG 'verify multiple tags' '
@@ -147,7 +147,7 @@ test_expect_success GPG 'verify multiple tags' ' ' test_expect_success GPGSM 'verify multiple tags x509' ' - tags="seventh-signed nineth-signed-x509" && + tags="seventh-signed ninth-signed-x509" && for i in $tags do git verify-tag -v --raw $i || return 1
Signature · 1 line
gitgitgadget
PATCH v2 9/11 sha1dc: fix trivial comment spelling error
In reply to Elijah Newren via GitGitGadgetFrom: Elijah Newren <[email protected]>
Also submitted upstream at:
https://github.com/cr-marcstevens/sha1collisiondetection/pull/52
--- sha1dc/sha1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
sha1dc/sha1.c +1 -1
@@ -72,7 +72,7 @@/* Not under GCC-alike or glibc */ #elif defined(_BYTE_ORDER) && defined(_BIG_ENDIAN) && defined(_LITTLE_ENDIAN)/* -* *BSD and newlib (embeded linux, cygwin, etc). +* *BSD and newlib (embedded linux, cygwin, etc). * the defined(_BIG_ENDIAN) && defined(_LITTLE_ENDIAN) part prevents * this condition from matching with Solaris/sparc. * (Solaris defines only one endian macro)
Signature · 1 line
gitgitgadget
PATCH v2 11/11 Fix spelling errors in no-longer-updated-from-upstream modules
In reply to Elijah Newren via GitGitGadgetFrom: Elijah Newren <[email protected]>
We have several modules originally taken from some upstream source, and which as far as I can tell we no longer update from the upstream anymore. As such, I have not submitted these spelling fixes to any external projects but just include them directly here.
--- compat/nedmalloc/malloc.c.h | 6 +++--- compat/obstack.h | 2 +- compat/regex/regcomp.c | 2 +- compat/regex/regex.h | 2 +- compat/regex/regex_internal.c | 2 +- compat/regex/regexec.c | 4 ++-- contrib/mw-to-git/.perlcriticrc | 2 +- contrib/mw-to-git/git-remote-mediawiki.perl | 2 +- contrib/mw-to-git/t/install-wiki/db_install.php | 2 +- contrib/mw-to-git/t/t9360-mw-to-git-clone.sh | 2 +- contrib/mw-to-git/t/test-gitmw-lib.sh | 2 +- 11 files changed, 14 insertions(+), 14 deletions(-)
compat/nedmalloc/malloc.c.h +3 -3
@@ -1564,7 +1564,7 @@ static FORCEINLINE void* win32direct_mmap(size_t size) {return (ptr !=0 )? ptr:MFAIL ; } -/* This function supports releasing coalesed segments */ +/* This function supports releasing coalesced segments */ static FORCEINLINE int win32munmap(void* ptr, size_t size) {MEMORY_BASIC_INFORMATION minfo;char * cptr = (char *)ptr;
@@ -1655,7 +1655,7 @@ static FORCEINLINE int win32munmap(void* ptr, size_t size) {#define CALL_MREMAP (addr, osz, nsz, mv) MFAIL#endif /* HAVE_MMAP && HAVE_MREMAP */ -/* mstate bit set if continguous morecore disabled or failed */ +/* mstate bit set if contiguous morecore disabled or failed */ #define USE_NONCONTIGUOUS_BIT (4U)/* segment bit set in create_mspace_with_base */
@@ -2485,7 +2485,7 @@ typedef struct malloc_segment* msegmentptr; Trim support Fields holding the amount of unused topmost memory that should trigger - timming, and a counter to force periodic scanning to release unused + timing, and a counter to force periodic scanning to release unused non-topmost segments. Locking
compat/obstack.h +1 -1
@@ -79,7 +79,7 @@ change its address during its lifetime. When the chars burst over a chunk boundary, we allocate a larger chunk, and then copy the partly formed object from the end of the old chunk to the beginning of the new larger chunk. We then carry on -accreting characters to the end of the object as we normally would. +accrediting characters to the end of the object as we normally would. A special macro is provided to add a single char at a time to a growing object. This allows the use of register variables, which
compat/regex/regcomp.c +1 -1
@@ -3462,7 +3462,7 @@ build_equiv_class (bitset_t sbcset, const unsigned char *name)/* This isn't a valid character. */ return REG_ECOLLATE ; -/* Build single byte matcing table for this equivalence class. */ +/* Build single byte matching table for this equivalence class. */ char_buf[1 ] = (unsigned char )'\0' ; len = weights[idx1 &0xffffff ];for (ch =0 ; ch <SBC_MAX ; ++ch)
compat/regex/regex.h +1 -1
@@ -322,7 +322,7 @@ typedef enum/* POSIX regcomp return error codes. (In the order listed in the standard.) */ REG_BADPAT ,/* Invalid pattern. */ -REG_ECOLLATE ,/* Inalid collating element. */ +REG_ECOLLATE ,/* Invalid collating element. */ REG_ECTYPE ,/* Invalid character class name. */ REG_EESCAPE ,/* Trailing backslash. */ REG_ESUBREG, /* Invalid back reference. */
compat/regex/regex_internal.c +1 -1
@@ -1616,7 +1616,7 @@ free_state (re_dfastate_t *state)re_free (state); } -/* Create the new state which is independ of contexts. +/* Create the new state which is independent of contexts. Return the new state if succeeded, otherwise return NULL. */ static re_dfastate_t *
compat/regex/regexec.c +2 -2
@@ -2420,7 +2420,7 @@ find_recover_state (reg_errcode_t *err, re_match_context_t *mctx)/* From the node set CUR_NODES, pick up the nodes whose types are OP_OPEN_SUBEXP and which have corresponding back references in the regular expression. And register them to use them later for evaluating the -correspoding back references. */ +corresponding back references. */ static reg_errcode_t internal_function
@@ -3347,7 +3347,7 @@ build_trtable (const re_dfa_t *dfa, re_dfastate_t *state) dests_node = dests_alloc->dests_node; dests_ch = dests_alloc->dests_ch; -/* Initialize transiton table. */ +/* Initialize transition table. */ state->word_trtable = state->trtable =NULL ;/* At first, group all nodes belonging to `state' into several
contrib/mw-to-git/.perlcriticrc +1 -1
@@ -14,7 +14,7 @@ # This rule states that each system call should have its return value checked # The problem is that it includes the print call. Checking every print call's -# return value would be harmful to the code readabilty. +# return value would be harmful to the code readability. # This configuration keeps all default function but print. [InputOutput::RequireCheckedSyscalls] functions = open say close
contrib/mw-to-git/git-remote-mediawiki.perl +1 -1
@@ -79,7 +79,7 @@ $export_media = !($export_media eq 'false'); my $wiki_login = run_git("config --get remote.${remotename}.mwLogin"); -# Note: mwPassword is discourraged. Use the credential system instead. +# Note: mwPassword is discouraged. Use the credential system instead. my $wiki_passwd = run_git("config --get remote.${remotename}.mwPassword"); my $wiki_domain = run_git("config --get remote.${remotename}.mwDomain"); chomp($wiki_login);
contrib/mw-to-git/t/install-wiki/db_install.php +1 -1
@@ -24,7 +24,7 @@ $url = 'http://localhost:'.$port.'/wiki/mw-config/index.php'; $db_dir = urlencode($tmp); $tmp_cookie = tempnam($tmp, "COOKIE_"); /* - * Fetchs a page with cURL. + * Fetches a page with cURL. */ function get($page_name = "") { $curl = curl_init();
contrib/mw-to-git/t/t9360-mw-to-git-clone.sh +1 -1
@@ -143,7 +143,7 @@ test_expect_success 'Git clone works with one specific page cloned ' ' test_expect_success 'Git clone works with multiple specific page cloned ' ' wiki_reset && wiki_editpage foo "I will be there" false && - wiki_editpage bar "I will not disapear" false && + wiki_editpage bar "I will not disappear" false && wiki_editpage namnam "I be erased" false && wiki_editpage nyancat "nyan nyan nyan you will not erase me" false && wiki_delete_page namnam &&
contrib/mw-to-git/t/test-gitmw-lib.sh +1 -1
@@ -279,7 +279,7 @@ start_lighttpd () { "$LIGHTTPD_DIR"/lighttpd -f "$WEB"/lighttpd.conf if test $? -ne 0 ; then - echo "Could not execute http deamon lighttpd" + echo "Could not execute http daemon lighttpd" exit 1 fi }
Signature · 1 line
gitgitgadget
PATCH v2 10/11 multimail: fix a few simple spelling errors
In reply to Elijah Newren via GitGitGadgetFrom: Elijah Newren <[email protected]>
Also submitted upstream as:
https://github.com/git-multimail/git-multimail/pull/208
--- contrib/hooks/multimail/git_multimail.py | 8 ++++---- contrib/hooks/multimail/post-receive.example | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-)
contrib/hooks/multimail/git_multimail.py +4 -4
@@ -95,7 +95,7 @@ def bytes_to_str(s, errors='strict'): unicode = str def write_str(f, msg): - # Try outputing with the default encoding. If it fails, + # Try outputting with the default encoding. If it fails, # try UTF-8. try: f.buffer.write(msg.encode(sys.getdefaultencoding()))
@@ -2129,7 +2129,7 @@ def call(klass, server, timeout): # equivalent to # self.smtp.ehlo() # self.smtp.starttls() - # with acces to the ssl layer + # with access to the ssl layer self.smtp.ehlo() if not self.smtp.has_extn("starttls"): raise smtplib.SMTPException("STARTTLS extension not supported by server")
@@ -2148,7 +2148,7 @@ def call(klass, server, timeout): cert_reqs=ssl.CERT_NONE ) self.environment.get_logger().error( - '*** Warning, the server certificat is not verified (smtp) ***\n' + '*** Warning, the server certificate is not verified (smtp) ***\n' '*** set the option smtpCACerts ***\n' ) if not hasattr(self.smtp.sock, "read"):
@@ -3189,7 +3189,7 @@ def __init__(self, **kw): self.COMPUTED_KEYS += ['projectdesc'] def get_projectdesc(self): - """Return a one-line descripition of the project.""" + """Return a one-line description of the project.""" git_dir = get_git_dir() try:
contrib/hooks/multimail/post-receive.example +1 -1
@@ -56,7 +56,7 @@ config = git_multimail.Config('multimailhook') # Set some Git configuration variables. Equivalent to passing var=val # to "git -c var=val" each time git is called, or to adding the -# configuration in .git/config (must come before instanciating the +# configuration in .git/config (must come before instantiating the # environment) : #git_multimail.Config.add_config_parameters('multimailhook.commitEmailFormat=html') #git_multimail.Config.add_config_parameters(('user.name=foo', '[email protected]'))
Signature · 1 line
gitgitgadget
PATCH v2 1/11 Documentation: fix a bunch of typos, both old and new
In reply to Elijah Newren via GitGitGadgetFrom: Elijah Newren <[email protected]>
--- Documentation/CodingGuidelines | 4 ++-- Documentation/RelNotes/1.5.0.txt | 4 ++-- Documentation/RelNotes/1.6.5.4.txt | 2 +- Documentation/RelNotes/1.7.0.2.txt | 2 +- Documentation/RelNotes/1.7.10.4.txt | 2 +- Documentation/RelNotes/1.7.12.3.txt | 2 +- Documentation/RelNotes/1.7.5.3.txt | 2 +- Documentation/RelNotes/1.8.0.txt | 2 +- Documentation/RelNotes/1.8.4.1.txt | 2 +- Documentation/RelNotes/2.1.3.txt | 2 +- Documentation/RelNotes/2.10.0.txt | 2 +- Documentation/RelNotes/2.10.2.txt | 2 +- Documentation/RelNotes/2.11.1.txt | 2 +- Documentation/RelNotes/2.12.0.txt | 2 +- Documentation/RelNotes/2.13.0.txt | 2 +- Documentation/RelNotes/2.13.3.txt | 4 ++-- Documentation/RelNotes/2.14.0.txt | 4 ++-- Documentation/RelNotes/2.16.0.txt | 2 +- Documentation/RelNotes/2.16.3.txt | 2 +- Documentation/RelNotes/2.17.0.txt | 2 +- Documentation/RelNotes/2.18.0.txt | 2 +- Documentation/RelNotes/2.19.0.txt | 2 +- Documentation/RelNotes/2.20.0.txt | 2 +- Documentation/RelNotes/2.3.3.txt | 2 +- Documentation/RelNotes/2.3.7.txt | 2 +- Documentation/RelNotes/2.4.3.txt | 2 +- Documentation/RelNotes/2.7.0.txt | 2 +- Documentation/RelNotes/2.8.0.txt | 2 +- Documentation/RelNotes/2.9.3.txt | 2 +- Documentation/config.txt | 2 +- Documentation/config/tag.txt | 2 +- Documentation/git-bisect-lk2009.txt | 2 +- Documentation/git-check-attr.txt | 2 +- Documentation/git-check-ignore.txt | 2 +- Documentation/git-cvsserver.txt | 2 +- Documentation/git-fast-export.txt | 2 +- Documentation/git-filter-branch.txt | 2 +- Documentation/git-range-diff.txt | 2 +- Documentation/git-tag.txt | 2 +- Documentation/git-update-index.txt | 2 +- Documentation/git.txt | 4 ++-- Documentation/gitattributes.txt | 6 +++--- Documentation/gitmodules.txt | 2 +- Documentation/howto/separating-topic-branches.txt | 2 +- Documentation/merge-options.txt | 2 +- Documentation/technical/api-submodule-config.txt | 2 +- Documentation/technical/api-trace2.txt | 14 +++++++------- Documentation/technical/commit-graph.txt | 12 ++++++------ .../technical/hash-function-transition.txt | 4 ++-- Documentation/technical/index-format.txt | 4 ++-- Documentation/technical/pack-protocol.txt | 2 +- Documentation/technical/partial-clone.txt | 2 +- Documentation/technical/protocol-v2.txt | 2 +- Documentation/technical/rerere.txt | 2 +- 54 files changed, 74 insertions(+), 74 deletions(-)
Documentation/CodingGuidelines +2 -2
@@ -75,7 +75,7 @@ For shell scripts specifically (not exhaustive): - If you want to find out if a command is available on the user's $PATH, you should use 'type <command>', instead of 'which <command>'. - The output of 'which' is not machine parseable and its exit code + The output of 'which' is not machine parsable and its exit code is not reliable across platforms. - We use POSIX compliant parameter substitutions and avoid bashisms;
@@ -203,7 +203,7 @@ For C programs: . since early 2012 with e1327023ea, we have been using an enum definition whose last element is followed by a comma. This, like an array initializer that ends with a trailing comma, can be used - to reduce the patch noise when adding a new identifer at the end. + to reduce the patch noise when adding a new identifier at the end. . since mid 2017 with cbc0f81d, we have been using designated initializers for struct (e.g. "struct t v = { .val = 'a' };").
Documentation/RelNotes/1.5.0.txt +2 -2
@@ -251,7 +251,7 @@ Updates in v1.5.0 since v1.4.4 series the repository when that happens. -* Crufts removal +* Cruft removal - We used to say "old commits are retrievable using reflog and 'master@{yesterday}' syntax as long as you haven't run
@@ -379,7 +379,7 @@ Updates in v1.5.0 since v1.4.4 series - The value of i18n.commitencoding in the originating repository is recorded in the commit object on the "encoding" header, if it is not UTF-8. git-log and friends notice this, - and reencodes the message to the log output encoding when + and re-encodes the message to the log output encoding when displaying, if they are different. The log output encoding is determined by "git log --encoding=<encoding>", i18n.logoutputencoding configuration, or i18n.commitencoding
Documentation/RelNotes/1.6.5.4.txt +1 -1
@@ -10,7 +10,7 @@ Fixes since v1.6.5.3 * "git prune-packed" gave progress output even when its standard error is not connected to a terminal; this caused cron jobs that run it to - produce crufts. + produce cruft. * "git pack-objects --all-progress" is an option to ask progress output from write-object phase _if_ progress output were to be produced, and
Documentation/RelNotes/1.7.0.2.txt +1 -1
@@ -34,7 +34,7 @@ Fixes since v1.7.0.1 * "git status" in 1.7.0 lacked the optimization we used to have in 1.6.X series to speed up scanning of large working tree. - * "gitweb" did not diagnose parsing errors properly while reading tis configuration + * "gitweb" did not diagnose parsing errors properly while reading its configuration file. And other minor fixes and documentation updates.
Documentation/RelNotes/1.7.10.4.txt +1 -1
@@ -7,7 +7,7 @@ Fixes since v1.7.10.3 * The message file for Swedish translation has been updated a bit. * A name taken from mailmap was copied into an internal buffer - incorrectly and could overun the buffer if it is too long. + incorrectly and could overrun the buffer if it is too long. * A malformed commit object that has a header line chomped in the middle could kill git with a NULL pointer dereference.
Documentation/RelNotes/1.7.12.3.txt +1 -1
@@ -25,7 +25,7 @@ Fixes since v1.7.12.2 its Accept-Encoding header. * "git receive-pack" (the counterpart to "git push") did not give - progress output while processing objects it received to the puser + progress output while processing objects it received to the user when run over the smart-http protocol. * "git status" honored the ignore=dirty settings in .gitmodules but
Documentation/RelNotes/1.7.5.3.txt +1 -1
@@ -22,7 +22,7 @@ Fixes since v1.7.5.2 * "git log --stdin path" with an input that has additional pathspec used to corrupt memory. - * "git send-pack" (hence "git push") over smalt-HTTP protocol could + * "git send-pack" (hence "git push") over smart-HTTP protocol could deadlock when the client side pack-object died early. * Compressed tarball gitweb generates used to be made with the timestamp
Documentation/RelNotes/1.8.0.txt +1 -1
@@ -233,7 +233,7 @@ to them for details). together, misdetected branches. * "git receive-pack" (the counterpart to "git push") did not give - progress output while processing objects it received to the puser + progress output while processing objects it received to the user when run over the smart-http protocol. * When you misspell the command name you give to the "exec" action in
Documentation/RelNotes/1.8.4.1.txt +1 -1
@@ -15,7 +15,7 @@ Fixes since v1.8.4 in 1.8.4-rc1). * "git rebase -i" and other scripted commands were feeding a - random, data dependant error message to 'echo' and expecting it + random, data dependent error message to 'echo' and expecting it to come out literally. * Setting the "submodule.<name>.path" variable to the empty
Documentation/RelNotes/2.1.3.txt +1 -1
@@ -13,7 +13,7 @@ Git v2.1.3 Release Notes they are new enough to support the `--output` option. * "git pack-objects" forgot to disable the codepath to generate - object recheability bitmap when it needs to split the resulting + object reachability bitmap when it needs to split the resulting pack. * "gitweb" used deprecated CGI::startfrom, which was removed from
Documentation/RelNotes/2.10.0.txt +1 -1
@@ -478,7 +478,7 @@ notes for details). * One part of "git am" had an oddball helper function that called stuff from outside "his" as opposed to calling what we have "ours", which was not gender-neutral and also inconsistent with the rest of - the system where outside stuff is usuall called "theirs" in + the system where outside stuff is usually called "theirs" in contrast to "ours". * "git blame file" allowed the lineage of lines in the uncommitted,
Documentation/RelNotes/2.10.2.txt +1 -1
@@ -86,7 +86,7 @@ Fixes since v2.10.1 by refusing to check out a branch that is already checked out in another worktree. However, this also prevented checking out a branch, which is designated as the primary branch of a bare - reopsitory, in a worktree that is connected to the bare + repository, in a worktree that is connected to the bare repository. The check has been corrected to allow it. * "git rebase" immediately after "git clone" failed to find the fork
Documentation/RelNotes/2.11.1.txt +1 -1
@@ -104,7 +104,7 @@ Fixes since v2.11 "git difftool --dir-diff" from a subdirectory never worked. This has been fixed. - * "git p4" that tracks multile p4 paths imported a single changelist + * "git p4" that tracks multiple p4 paths imported a single changelist that touches files in these multiple paths as one commit, followed by many empty commits. This has been fixed.
Documentation/RelNotes/2.12.0.txt +1 -1
@@ -315,7 +315,7 @@ notes for details). "git difftool --dir-diff" from a subdirectory never worked. This has been fixed. - * "git p4" that tracks multile p4 paths imported a single changelist + * "git p4" that tracks multiple p4 paths imported a single changelist that touches files in these multiple paths as one commit, followed by many empty commits. This has been fixed.
Documentation/RelNotes/2.13.0.txt +1 -1
@@ -177,7 +177,7 @@ UI, Workflows & Features been changed to enable "--decorate". * The output from "git status --short" has been extended to show - various kinds of dirtyness in submodules differently; instead of to + various kinds of dirtiness in submodules differently; instead of to "M" for modified, 'm' and '?' can be shown to signal changes only to the working tree of the submodule but not the commit that is checked out.
Documentation/RelNotes/2.13.3.txt +2 -2
@@ -25,7 +25,7 @@ Fixes since v2.13.2 * The code to pick up and execute command alias definition from the configuration used to switch to the top of the working tree and then come back when the expanded alias was executed, which was - unnecessarilyl complex. Attempt to simplify the logic by using the + unnecessarily complex. Attempt to simplify the logic by using the early-config mechanism that does not chdir around. * "git add -p" were updated in 2.12 timeframe to cope with custom
@@ -35,7 +35,7 @@ Fixes since v2.13.2 * Fix a recent regression to "git rebase -i" and add tests that would have caught it and others. - * An unaligned 32-bit access in pack-bitmap code ahs been corrected. + * An unaligned 32-bit access in pack-bitmap code has been corrected. * Tighten error checks for invalid "git apply" input.
Documentation/RelNotes/2.14.0.txt +2 -2
@@ -141,7 +141,7 @@ Performance, Internal Implementation, Development Support etc. * Some platforms have ulong that is smaller than time_t, and our historical use of ulong for timestamp would mean they cannot represent some timestamp that the platform allows. Invent a - separate and dedicated timestamp_t (so that we can distingiuish + separate and dedicated timestamp_t (so that we can distinguish timestamps and a vanilla ulongs, which along is already a good move), and then declare uintmax_t is the type to be used as the timestamp_t.
@@ -442,7 +442,7 @@ notes for details). * The code to pick up and execute command alias definition from the configuration used to switch to the top of the working tree and then come back when the expanded alias was executed, which was - unnecessarilyl complex. Attempt to simplify the logic by using the + unnecessarily complex. Attempt to simplify the logic by using the early-config mechanism that does not chdir around. * Fix configuration codepath to pay proper attention to commondir
Documentation/RelNotes/2.16.0.txt +1 -1
@@ -407,7 +407,7 @@ Fixes since v2.15 (merge eef3df5a93 bw/pathspec-match-submodule-boundary later to maint). * Amending commits in git-gui broke the author name that is non-ascii - due to incorrect enconding conversion. + due to incorrect encoding conversion. * Recent update to the submodule configuration code broke "diff-tree" by accidentally stopping to read from the index upfront.
Documentation/RelNotes/2.16.3.txt +1 -1
@@ -24,7 +24,7 @@ Fixes since v2.16.2 * The http tracing code, often used to debug connection issues, learned to redact potentially sensitive information from its output - so that it can be more safely sharable. + so that it can be more safely shareable. * Crash fix for a corner case where an error codepath tried to unlock what it did not acquire lock on.
Documentation/RelNotes/2.17.0.txt +1 -1
@@ -216,7 +216,7 @@ Fixes since v2.16 * The http tracing code, often used to debug connection issues, learned to redact potentially sensitive information from its output - so that it can be more safely sharable. + so that it can be more safely shareable. (merge 8ba18e6fa4 jt/http-redact-cookies later to maint). * Crash fix for a corner case where an error codepath tried to unlock
Documentation/RelNotes/2.18.0.txt +1 -1
@@ -179,7 +179,7 @@ Performance, Internal Implementation, Development Support etc. (merge 00a3da2a13 nd/remove-ignore-env-field later to maint). * Code to find the length to uniquely abbreviate object names based - on packfile content, which is a relatively recent addtion, has been + on packfile content, which is a relatively recent addition, has been optimized to use the same fan-out table. * The mechanism to use parse-options API to automate the command line
Documentation/RelNotes/2.19.0.txt +1 -1
@@ -106,7 +106,7 @@ Performance, Internal Implementation, Development Support etc. * The conversion to pass "the_repository" and then "a_repository" throughout the object access API continues. - * Continuing with the idea to programatically enumerate various + * Continuing with the idea to programmatically enumerate various pieces of data required for command line completion, teach the codebase to report the list of configuration variables subcommands care about to help complete them.
Documentation/RelNotes/2.20.0.txt +1 -1
@@ -119,7 +119,7 @@ UI, Workflows & Features alias expansion. * The documentation of "git gc" has been updated to mention that it - is no longer limited to "pruning away crufts" but also updates + is no longer limited to "pruning away cruft" but also updates ancillary files like commit-graph as a part of repository optimization.
Documentation/RelNotes/2.3.3.txt +1 -1
@@ -12,7 +12,7 @@ Fixes since v2.3.2 * Description given by "grep -h" for its --exclude-standard option was phrased poorly. - * Documentaton for "git remote add" mentioned "--tags" and + * Documentation for "git remote add" mentioned "--tags" and "--no-tags" and it was not clear that fetch from the remote in the future will use the default behaviour when neither is given to override it.
Documentation/RelNotes/2.3.7.txt +1 -1
@@ -4,7 +4,7 @@ Git v2.3.7 Release Notes Fixes since v2.3.6 ------------------ - * An earlier update to the parser that disects a URL broke an + * An earlier update to the parser that dissects a URL broke an address, followed by a colon, followed by an empty string (instead of the port number), e.g. ssh://example.com:/path/to/repo.
Documentation/RelNotes/2.4.3.txt +1 -1
@@ -66,7 +66,7 @@ Fixes since v2.4.3 * Some time ago, "git blame" (incorrectly) lost the convert_to_git() call when synthesizing a fake "tip" commit that represents the state in the working tree, which broke folks who record the history - with LF line ending to make their project portabile across + with LF line ending to make their project portable across platforms while terminating lines in their working tree files with CRLF for their platform.
Documentation/RelNotes/2.7.0.txt +1 -1
@@ -40,7 +40,7 @@ UI, Workflows & Features * "git interpret-trailers" can now run outside of a Git repository. - * "git p4" learned to reencode the pathname it uses to communicate + * "git p4" learned to re-encode the pathname it uses to communicate with the p4 depot with a new option. * Give progress meter to "git filter-branch".
Documentation/RelNotes/2.8.0.txt +1 -1
@@ -189,7 +189,7 @@ Performance, Internal Implementation, Development Support etc. * Some calls to strcpy(3) triggers a false warning from static analyzers that are less intelligent than humans, and reducing the number of these false hits helps us notice real issues. A few - calls to strcpy(3) in a couple of protrams that are already safe + calls to strcpy(3) in a couple of programs that are already safe has been rewritten to avoid false warnings. * The "name_path" API was an attempt to reduce the need to construct
Documentation/RelNotes/2.9.3.txt +1 -1
@@ -36,7 +36,7 @@ Fixes since v2.9.2 * One part of "git am" had an oddball helper function that called stuff from outside "his" as opposed to calling what we have "ours", which was not gender-neutral and also inconsistent with the rest of - the system where outside stuff is usuall called "theirs" in + the system where outside stuff is usually called "theirs" in contrast to "ours". * The test framework learned a new helper test_match_signal to
Documentation/config.txt +1 -1
@@ -142,7 +142,7 @@ refer to linkgit:gitignore[5] for details. For convenience: `gitdir/i`:: This is the same as `gitdir` except that matching is done - case-insensitively (e.g. on case-insensitive file sytems) + case-insensitively (e.g. on case-insensitive file systems) `onbranch`:: The data that follows the keyword `onbranch:` is taken to be a
Documentation/config/tag.txt +1 -1
@@ -13,7 +13,7 @@ tag.gpgSign:: Use of this option when running in an automated script can result in a large number of tags being signed. It is therefore convenient to use an agent to avoid typing your gpg passphrase - several times. Note that this option doesn't affects tag signing + several times. Note that this option doesn't affect tag signing behavior enabled by "-u <keyid>" or "--local-user=<keyid>" options. tar.umask::
Documentation/git-bisect-lk2009.txt +1 -1
@@ -158,7 +158,7 @@ Test suites are very nice. But when they are used alone, they are supposed to be used so that all the tests are checked after each commit. This means that they are not very efficient, because many tests are run for no interesting result, and they suffer from -combinational explosion. +combinatorial explosion. In fact the problem is that big software often has many different configuration options and that each test case should pass for each
Documentation/git-check-attr.txt +1 -1
@@ -32,7 +32,7 @@ OPTIONS instead of from the command-line. -z:: - The output format is modified to be machine-parseable. + The output format is modified to be machine-parsable. If `--stdin` is also given, input paths are separated with a NUL character instead of a linefeed character.
Documentation/git-check-ignore.txt +1 -1
@@ -39,7 +39,7 @@ OPTIONS instead of from the command-line. -z:: - The output format is modified to be machine-parseable (see + The output format is modified to be machine-parsable (see below). If `--stdin` is also given, input paths are separated with a NUL character instead of a linefeed character.
Documentation/git-cvsserver.txt +1 -1
@@ -294,7 +294,7 @@ In `dbDriver` and `dbUser` you can use the following variables: Git directory name %g:: Git directory name, where all characters except for - alpha-numeric ones, `.`, and `-` are replaced with + alphanumeric ones, `.`, and `-` are replaced with `_` (this should make it easier to use the directory name in a filename if wanted) %m::
Documentation/git-fast-export.txt +1 -1
@@ -142,7 +142,7 @@ by keeping the marks the same across runs. Specify how to handle `encoding` header in commit objects. When asking to 'abort' (which is the default), this program will die when encountering such a commit object. With 'yes', the commit - message will be reencoded into UTF-8. With 'no', the original + message will be re-encoded into UTF-8. With 'no', the original encoding will be preserved. --refspec::
Documentation/git-filter-branch.txt +1 -1
@@ -534,7 +534,7 @@ repo-filter' also provides https://github.com/newren/git-filter-repo/blob/master/contrib/filter-repo-demos/filter-lamely[filter-lamely], a drop-in git-filter-branch replacement (with a few caveats). While filter-lamely suffers from all the same safety issues as -git-filter-branch, it at least ameloriates the performance issues a +git-filter-branch, it at least ameliorates the performance issues a little. [[SAFETY]]
Documentation/git-range-diff.txt +1 -1
@@ -242,7 +242,7 @@ corresponding. The overall time needed to compute this algorithm is the time needed to compute n+m commit diffs and then n*m diffs of patches, plus the time -needed to compute the least-cost assigment between n and m diffs. Git +needed to compute the least-cost assignment between n and m diffs. Git uses an implementation of the Jonker-Volgenant algorithm to solve the assignment problem, which has cubic runtime complexity. The matching found in this case will look like this:
Documentation/git-tag.txt +1 -1
@@ -65,7 +65,7 @@ OPTIONS --sign:: Make a GPG-signed tag, using the default e-mail address's key. The default behavior of tag GPG-signing is controlled by `tag.gpgSign` - configuration variable if it exists, or disabled oder otherwise. + configuration variable if it exists, or disabled otherwise. See linkgit:git-config[1]. --no-sign::
Documentation/git-update-index.txt +1 -1
@@ -426,7 +426,7 @@ specified by the splitIndex.sharedIndexExpire config variable (see linkgit:git-config[1]). To avoid deleting a shared index file that is still used, its -modification time is updated to the current time everytime a new split +modification time is updated to the current time every time a new split index based on the shared index file is either created or read from. UNTRACKED CACHE
Documentation/git.txt +2 -2
@@ -271,8 +271,8 @@ In general, the interrogate commands do not touch the files in the working tree. -Synching repositories -~~~~~~~~~~~~~~~~~~~~~ +Syncing repositories +~~~~~~~~~~~~~~~~~~~~ include::cmds-synchingrepositories.txt[]
Documentation/gitattributes.txt +3 -3
@@ -293,10 +293,10 @@ web front ends do not visualize the contents of these files by default. In these cases you can tell Git the encoding of a file in the working directory with the `working-tree-encoding` attribute. If a file with this -attribute is added to Git, then Git reencodes the content from the +attribute is added to Git, then Git re-encodes the content from the specified encoding to UTF-8. Finally, Git stores the UTF-8 encoded content in its internal data structure (called "the index"). On checkout -the content is reencoded back to the specified encoding. +the content is re-encoded back to the specified encoding. Please note that using the `working-tree-encoding` attribute may have a number of pitfalls:
@@ -498,7 +498,7 @@ command. This is achieved by using the long-running process protocol When Git encounters the first file that needs to be cleaned or smudged, it starts the filter and performs the handshake. In the handshake, the welcome message sent by Git is "git-filter-client", only version 2 is -suppported, and the supported capabilities are "clean", "smudge", and +supported, and the supported capabilities are "clean", "smudge", and "delay". Afterwards Git sends a list of "key=value" pairs terminated with
Documentation/gitmodules.txt +1 -1
@@ -81,7 +81,7 @@ submodule.<name>.ignore:: Committed differences and modifications to tracked files will show up. - none;; No modifiations to submodules are ignored, all of committed + none;; No modifications to submodules are ignored, all of committed differences, and modifications to tracked and untracked files are shown. This is the default option.
Documentation/howto/separating-topic-branches.txt +1 -1
@@ -81,7 +81,7 @@ After I am done, I'd try a pretend-merge between "topicA" and o---o---o---o---o---o The last diff better not to show anything other than cleanups -for crufts. Then I can finally clean things up: +for cruft. Then I can finally clean things up: $ git branch -D topic $ git reset --hard HEAD^ ;# nuke pretend merge
Documentation/merge-options.txt +1 -1
@@ -34,7 +34,7 @@ set to `no` at the beginning of them. --cleanup=<mode>:: This option determines how the merge message will be cleaned up before - commiting. See linkgit:git-commit[1] for more details. In addition, if + committing. See linkgit:git-commit[1] for more details. In addition, if the '<mode>' is given a value of `scissors`, scissors will be appended to `MERGE_MSG` before being passed on to the commit machinery in the case of a merge conflict.
Documentation/technical/api-submodule-config.txt +1 -1
@@ -58,7 +58,7 @@ Functions Whenever a submodule configuration is parsed in `parse_submodule_config_option` via e.g. `gitmodules_config()`, it will overwrite the null_sha1 entry. -So in the normal case, when HEAD:.gitmodules is parsed first and then overlayed +So in the normal case, when HEAD:.gitmodules is parsed first and then overlaid with the repository configuration, the null_sha1 entry contains the local configuration of a submodule (e.g. consolidated values from local git configuration and the .gitmodules file in the worktree).
Documentation/technical/api-trace2.txt +7 -7
@@ -178,7 +178,7 @@ describe the simplified forms. == Public API -All Trace2 API functions send a messsage to all of the active +All Trace2 API functions send a message to all of the active Trace2 Targets. This section describes the set of available messages.
@@ -377,7 +377,7 @@ of `pthread_create()`. and the thread elapsed time. + This function must be called by the thread-proc before it returns -(so that the coorect TLS data is used and cleaned up. It should +(so that the correct TLS data is used and cleaned up). It should not be called by the caller of `pthread_join()`. === Region and Data Messages
@@ -406,7 +406,7 @@ The `label` field is an arbitrary label used to describe the activity being started, such as "read_recursive" or "do_read_index". + The `repo` field, if set, will be used to get the "repo-id", so that -recursive oerations can be attributed to the correct repository. +recursive operations can be attributed to the correct repository. `void trace2_region_leave(const char *category, const char *label, const struct repository *repo)`::
@@ -421,7 +421,7 @@ This function pops the region nesting stack on the current thread and reports the elapsed time of the stack frame. + The `category`, `label`, and `repo` fields are the same as above. -The `category` and `label` do not need to match the correpsonding +The `category` and `label` do not need to match the corresponding "region_enter" message, but it makes the data stream easier to understand.
@@ -816,7 +816,7 @@ with "?". Note that the session-id of the child process is not available to the current/spawning process, so the child's PID is reported here as a hint for post-processing. (But it is only a hint because the child -proces may be a shell script which doesn't have a session-id.) +process may be a shell script which doesn't have a session-id.) + Note that the `t_rel` field contains the observed run time in seconds for the child process (starting before the fork/exec/spawn and
@@ -1176,7 +1176,7 @@ d0 | main | atexit | | 0.028809 | | + Regions may be nested. This causes messages to be indented in the PERF target, for example. -Elapsed times are relative to the start of the correpsonding nesting +Elapsed times are relative to the start of the corresponding nesting level as expected. For example, if we add region message to: + ----------------
@@ -1371,7 +1371,7 @@ d0 | main | atexit | | 0.030027 | | In this example, the preload region took 0.009122 seconds. The 7 threads took between 0.006069 and 0.008947 seconds to work on their portion of the index. Thread "th01" worked on 508 items at offset 0. Thread "th02" -worked on 508 items at offset 2032. Thread "th04" worked on 508 itemts +worked on 508 items at offset 2032. Thread "th04" worked on 508 items at offset 508. + This example also shows that thread names are assigned in a racy manner
Documentation/technical/commit-graph.txt +6 -6
@@ -22,11 +22,11 @@ as "commit-graph" either in the .git/objects/info directory or in the info directory of an alternate. The commit-graph file stores the commit graph structure along with some -extra metadata to speed up graph walks. By listing commit OIDs in lexi- -cographic order, we can identify an integer position for each commit and -refer to the parents of a commit using those integer positions. We use -binary search to find initial commits and then use the integer positions -for fast lookups during the walk. +extra metadata to speed up graph walks. By listing commit OIDs in +lexicographic order, we can identify an integer position for each commit +and refer to the parents of a commit using those integer positions. We +use binary search to find initial commits and then use the integer +positions for fast lookups during the walk. A consumer may load the following info for a commit from the graph:
@@ -85,7 +85,7 @@ have generation number represented by the macro GENERATION_NUMBER_ZERO = 0. Since the commit-graph file is closed under reachability, we can guarantee the following weaker condition on all commits: - If A and B are commits with generation numbers N amd M, respectively, + If A and B are commits with generation numbers N and M, respectively, and N < M, then A cannot reach B. Note how the strict inequality differs from the inequality when we have
Documentation/technical/hash-function-transition.txt +2 -2
@@ -531,7 +531,7 @@ Until Git protocol gains SHA-256 support, using SHA-256 based storage on public-facing Git servers is strongly discouraged. Once Git protocol gains SHA-256 support, SHA-256 based servers are likely not to support SHA-1 compatibility, to avoid what may be a very expensive -hash reencode during clone and to encourage peers to modernize. +hash re-encode during clone and to encourage peers to modernize. The design described here allows fetches by SHA-1 clients of a personal SHA-256 repository because it's not much more difficult than
@@ -602,7 +602,7 @@ git --output-format=sha1 log abac87a^{sha1}..f787cac^{sha256} Choice of Hash -------------- -In early 2005, around the time that Git was written, Xiaoyun Wang, +In early 2005, around the time that Git was written, Xiaoyun Wang, Yiqun Lisa Yin, and Hongbo Yu announced an attack finding SHA-1 collisions in 2^69 operations. In August they published details. Luckily, no practical demonstrations of a collision in full SHA-1 were
Documentation/technical/index-format.txt +2 -2
@@ -318,7 +318,7 @@ The remaining data of each directory block is grouped by type: == End of Index Entry The End of Index Entry (EOIE) is used to locate the end of the variable - length index entries and the begining of the extensions. Code can take + length index entries and the beginning of the extensions. Code can take advantage of this to quickly locate the index extensions without having to parse through all of the index entries.
@@ -351,7 +351,7 @@ The remaining data of each directory block is grouped by type: - A number of index offset entries each consisting of: - - 32-bit offset from the begining of the file to the first cache entry + - 32-bit offset from the beginning of the file to the first cache entry in this block of entries. - 32-bit count of cache entries in this block
Documentation/technical/pack-protocol.txt +1 -1
@@ -644,7 +644,7 @@ update was successful, or 'ng [refname] [error]' if the update was not. command-ok = PKT-LINE("ok" SP refname) command-fail = PKT-LINE("ng" SP refname SP error-msg) - error-msg = 1*(OCTECT) ; where not "ok" + error-msg = 1*(OCTET) ; where not "ok" ---- Updates can be unsuccessful for a number of reasons. The reference can have
Documentation/technical/partial-clone.txt +1 -1
@@ -32,7 +32,7 @@ if/when needed. A remote that can later provide the missing objects is called a promisor remote, as it promises to send the objects when -requested. Initialy Git supported only one promisor remote, the origin +requested. Initially Git supported only one promisor remote, the origin remote from which the user cloned and that was configured in the "extensions.partialClone" config option. Later support for more than one promisor remote has been implemented.
Documentation/technical/protocol-v2.txt +1 -1
@@ -252,7 +252,7 @@ A `fetch` request can take the following arguments: ofs-delta Indicate that the client understands PACKv2 with delta referring to its base by position in pack rather than by an oid. That is, - they can read OBJ_OFS_DELTA (ake type 6) in a packfile. + they can read OBJ_OFS_DELTA (aka type 6) in a packfile. If the 'shallow' feature is advertised the following arguments can be included in the clients request as well as the potential addition of the
Documentation/technical/rerere.txt +1 -1
@@ -117,7 +117,7 @@ early A became C or B, a late X became Y or Z". We can see there are 4 combinations of ("B or C", "C or B") x ("X or Y", "Y or X"). By sorting, the conflict is given its canonical name, namely, "an -early part became B or C, a late part becames X or Y", and whenever +early part became B or C, a late part became X or Y", and whenever any of these four patterns appear, and we can get to the same conflict and resolution that we saw earlier.
Signature · 1 line
gitgitgadget
Re: [PATCH v2 03/11] Prefer 'up-to-date' spelling
In reply to Elijah Newren via GitGitGadgetQuoted 7 lines · Elijah Newren via GitGitGadget
gitk-git/gitk | 2 +-...
gitk-git/gitk +0
-0
gitk-git/gitk proc cherrypick {} { · line 9702
Quoted 8 lines
gitk-git/gitk +1
-1@@ -9696,7 +9696,7 @@ proc cherrypick {} { if {[catch {exec sh -c "git cherry-pick -r $rowmenuid 2>&1"} err]} { notbusy cherrypick if {[regexp -line \ - {Entry '(.*)' (would be overwritten by merge|not uptodate)} \ + {Entry '(.*)' (would be overwritten by merge|not up-to-date)} \ $err msg fname]} { error_popup [mc "Cherry-pick failed because of local changes\ to file '%s'.\nPlease commit, reset or stash\
Not very satisfactory for two reasons.
Procedurally, I'd strongly prefer to see any patch that touches "gitk" (and similarly "git-gui" and "po") to be separated from the rest, and not directly sent to me. Further, "gitk" is merged one-way into my tree with -Xsubtree=gitk (similarly for "git-gui"), so a patch to it would be to change "a/gitk" to "b/gitk".
Content-wise, because "gitk" (and similarly "git-gui") is a project that stands on its own, we (at least this is a wish by its primary author and maintainer the last time I checked with him) want to make sure that slightly older/newer gitk is interoperable with slightly newer/older git. Preparing to also see "uptodate" emitted by the version of git it runs would be a good way to achieve this.
We do not promise interoperability between vastly different versions forever, by the way. I see "cherry-pick -r" used in the precontext, but "--replay" has been the default for the command for the past dozen years, and now it is just an unadvertised noop. It probably is OK now to remove "-r" from the invocation here ;-)
Thanks.
Re: [PATCH v2 03/11] Prefer 'up-to-date' spelling
In reply to Elijah Newren via GitGitGadgetunpack-trees.c static const char *unpack_plumbing_errors[NB_UNPACK_TREES_ERROR_TYPES] · line 32
Quoted 10 lines · Elijah Newren via GitGitGadget
unpack-trees.c +1
-1@@ -29,7 +29,7 @@ static const char *unpack_plumbing_errors[NB_UNPACK_TREES_ERROR_TYPES]"Entry '%s' would be overwritten by merge. Cannot merge." ,/* ERROR_NOT_UPTODATE_FILE */ - "Entry '%s' not uptodate. Cannot merge.", + "Entry '%s' not up-to-date. Cannot merge.",
As the name of this table says, this is a table of the plumbing errors that are given without translation, in order to allow scripts to read and act on them. Wouldn't touching it break the promise to the scripts?
Re: [PATCH v2 03/11] Prefer 'up-to-date' spelling
Quoted 10 lines · Junio C Hamano
Quoted 7 lines · Elijah Newren via GitGitGadget
unpack-trees.c +0
-0@@ -29,7 +29,7 @@ static const char *unpack_plumbing_errors[NB_UNPACK_TREES_ERROR_TYPES] "Entry '%s' would be overwritten by merge. Cannot merge.",
Quoted 8 lines
unpack-trees.c static const char *unpack_plumbing_errors[NB_UNPACK_TREES_ERROR_TYPES] = { · line 32
Quoted 3 lines
unpack-trees.c +1
-1/* ERROR_NOT_UPTODATE_FILE */ - "Entry '%s' not uptodate. Cannot merge.", + "Entry '%s' not up-to-date. Cannot merge.",As the name of this table says, this is a table of the plumbing errors that are given without translation, in order to allow scripts to read and act on them. Wouldn't touching it break the promise to the scripts?
Oh, right. Between this and the gitk issues, how about we just drop this patch and include the rest of the series. Would you rather just drop it on your end, or do you want me to send a re-roll that doesn't include it?