Skip to content

Commit d50b346

Browse files
authored
Merge pull request libgit2#6164 from rex4539/typos
Fix typos
2 parents 2bfd8dd + 616628d commit d50b346

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+82
-82
lines changed

cmake/FindGSSAPI.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# GSSAPI_ROOT_DIR - Set this variable to the root installation of GSSAPI
66
#
77
# Read-Only variables:
8-
# GSSAPI_FLAVOR_MIT - set to TURE if MIT Kerberos has been found
8+
# GSSAPI_FLAVOR_MIT - set to TRUE if MIT Kerberos has been found
99
# GSSAPI_FLAVOR_HEIMDAL - set to TRUE if Heimdal Kerberos has been found
1010
# GSSAPI_FOUND - system has GSSAPI
1111
# GSSAPI_INCLUDE_DIR - the GSSAPI include directory

docs/release.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,4 @@ and run it against our description file with the tip of `main` checked out.
8080

8181
cm doc api.docurium
8282

83-
It will start up a few proceses and write out the results as a new commit onto the `gh-pages` branch. That can be pushed to GitHub to update what will show up on our documentation reference site.
83+
It will start up a few processes and write out the results as a new commit onto the `gh-pages` branch. That can be pushed to GitHub to update what will show up on our documentation reference site.

examples/blame.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ int lg2_blame(git_repository *repo, int argc, char *argv[])
4949
if (o.F) blameopts.flags |= GIT_BLAME_FIRST_PARENT;
5050

5151
/**
52-
* The commit range comes in "commitish" form. Use the rev-parse API to
52+
* The commit range comes in "committish" form. Use the rev-parse API to
5353
* nail down the end points.
5454
*/
5555
if (o.commitspec) {
@@ -70,7 +70,7 @@ int lg2_blame(git_repository *repo, int argc, char *argv[])
7070

7171
/**
7272
* Get the raw data inside the blob for output. We use the
73-
* `commitish:path/to/file.txt` format to find it.
73+
* `committish:path/to/file.txt` format to find it.
7474
*/
7575
if (git_oid_is_zero(&blameopts.newest_commit))
7676
strcpy(spec, "HEAD");

include/git2/attr.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ GIT_EXTERN(int) git_attr_cache_flush(
344344
* Add a macro definition.
345345
*
346346
* Macros will automatically be loaded from the top level `.gitattributes`
347-
* file of the repository (plus the build-in "binary" macro). This
347+
* file of the repository (plus the built-in "binary" macro). This
348348
* function allows you to add others. For example, to add the default
349349
* macro, you would call:
350350
*

include/git2/clone.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ typedef int GIT_CALLBACK(git_remote_create_cb)(
7474
void *payload);
7575

7676
/**
77-
* The signature of a function matchin git_repository_init, with an
78-
* aditional void * as callback payload.
77+
* The signature of a function matching git_repository_init, with an
78+
* additional void * as callback payload.
7979
*
8080
* Callers of git_clone my provide a function matching this signature
8181
* to override the repository creation and customization process

include/git2/describe.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ GIT_EXTERN(int) git_describe_commit(
152152
* Describe a commit
153153
*
154154
* Perform the describe operation on the current commit and the
155-
* worktree. After peforming describe on HEAD, a status is run and the
155+
* worktree. After performing describe on HEAD, a status is run and the
156156
* description is considered to be dirty if there are.
157157
*
158158
* @param out pointer to store the result. You must free this once

include/git2/diff.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -758,7 +758,7 @@ typedef struct {
758758
uint16_t copy_threshold;
759759

760760
/**
761-
* Treshold below which similar files will be split into a delete/add pair.
761+
* Threshold below which similar files will be split into a delete/add pair.
762762
* This is equivalent to the last part of the -B option. Defaults to 60.
763763
*/
764764
uint16_t break_rewrite_threshold;
@@ -1317,7 +1317,7 @@ typedef enum {
13171317
/**
13181318
* Accumulate diff statistics for all patches.
13191319
*
1320-
* @param out Structure containg the diff statistics.
1320+
* @param out Structure containing the diff statistics.
13211321
* @param diff A git_diff generated by one of the above functions.
13221322
* @return 0 on success; non-zero on error
13231323
*/

include/git2/odb.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@ GIT_EXTERN(int) git_odb_get_backend(git_odb_backend **out, git_odb *odb, size_t
578578
/**
579579
* Set the git commit-graph for the ODB.
580580
*
581-
* After a successfull call, the ownership of the cgraph parameter will be
581+
* After a successful call, the ownership of the cgraph parameter will be
582582
* transferred to libgit2, and the caller should not free it.
583583
*
584584
* The commit-graph can also be unset by explicitly passing NULL as the cgraph

include/git2/reflog.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ GIT_BEGIN_DECL
3131
* git_reflog_free().
3232
*
3333
* @param out pointer to reflog
34-
* @param repo the repostiory
34+
* @param repo the repository
3535
* @param name reference to look up
3636
* @return 0 or an error code
3737
*/

include/git2/refs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ GIT_EXTERN(int) git_reference_name_to_id(
5757
/**
5858
* Lookup a reference by DWIMing its short name
5959
*
60-
* Apply the git precendence rules to the given shorthand to determine
60+
* Apply the git precedence rules to the given shorthand to determine
6161
* which reference the user is referring to.
6262
*
6363
* @param out pointer in which to store the reference

0 commit comments

Comments
 (0)