Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
5aea17f6
Commit
5aea17f6
authored
Feb 22, 2021
by
Tobias Nießen
Committed by
Edward Thomson
Jun 30, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: fix typos in comments
parent
ead10a88
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
include/git2/config.h
+1
-1
include/git2/index.h
+1
-1
include/git2/refs.h
+3
-3
include/git2/transport.h
+1
-1
No files found.
include/git2/config.h
View file @
5aea17f6
...
@@ -263,7 +263,7 @@ GIT_EXTERN(int) git_config_open_level(
...
@@ -263,7 +263,7 @@ GIT_EXTERN(int) git_config_open_level(
*
*
* Git allows you to store your global configuration at
* Git allows you to store your global configuration at
* `$HOME/.gitconfig` or `$XDG_CONFIG_HOME/git/config`. For backwards
* `$HOME/.gitconfig` or `$XDG_CONFIG_HOME/git/config`. For backwards
* compat
a
bility, the XDG file shouldn't be used unless the use has
* compat
i
bility, the XDG file shouldn't be used unless the use has
* created it explicitly. With this function you'll open the correct
* created it explicitly. With this function you'll open the correct
* one to write to.
* one to write to.
*
*
...
...
include/git2/index.h
View file @
5aea17f6
...
@@ -349,7 +349,7 @@ GIT_EXTERN(int) git_index_write_tree(git_oid *out, git_index *index);
...
@@ -349,7 +349,7 @@ GIT_EXTERN(int) git_index_write_tree(git_oid *out, git_index *index);
*
*
* The index must not contain any file in conflict.
* The index must not contain any file in conflict.
*
*
* @param out Pointer where to store OID of the
the
written tree
* @param out Pointer where to store OID of the written tree
* @param index Index to write
* @param index Index to write
* @param repo Repository where to write the tree
* @param repo Repository where to write the tree
* @return 0 on success, GIT_EUNMERGED when the index is not clean
* @return 0 on success, GIT_EUNMERGED when the index is not clean
...
...
include/git2/refs.h
View file @
5aea17f6
...
@@ -169,7 +169,7 @@ GIT_EXTERN(int) git_reference_symbolic_create(git_reference **out, git_repositor
...
@@ -169,7 +169,7 @@ GIT_EXTERN(int) git_reference_symbolic_create(git_reference **out, git_repositor
*
*
* The message for the reflog will be ignored if the reference does
* The message for the reflog will be ignored if the reference does
* not belong in the standard set (HEAD, branches and remote-tracking
* not belong in the standard set (HEAD, branches and remote-tracking
* branches) and
and
it does not have a reflog.
* branches) and it does not have a reflog.
*
*
* @param out Pointer to the newly created reference
* @param out Pointer to the newly created reference
* @param repo Repository where that reference will live
* @param repo Repository where that reference will live
...
@@ -206,7 +206,7 @@ GIT_EXTERN(int) git_reference_create(git_reference **out, git_repository *repo,
...
@@ -206,7 +206,7 @@ GIT_EXTERN(int) git_reference_create(git_reference **out, git_repository *repo,
*
*
* The message for the reflog will be ignored if the reference does
* The message for the reflog will be ignored if the reference does
* not belong in the standard set (HEAD, branches and remote-tracking
* not belong in the standard set (HEAD, branches and remote-tracking
* branches) and
and
it does not have a reflog.
* branches) and it does not have a reflog.
*
*
* It will return GIT_EMODIFIED if the reference's value at the time
* It will return GIT_EMODIFIED if the reference's value at the time
* of updating does not match the one passed through `current_id`
* of updating does not match the one passed through `current_id`
...
@@ -318,7 +318,7 @@ GIT_EXTERN(git_repository *) git_reference_owner(const git_reference *ref);
...
@@ -318,7 +318,7 @@ GIT_EXTERN(git_repository *) git_reference_owner(const git_reference *ref);
*
*
* The message for the reflog will be ignored if the reference does
* The message for the reflog will be ignored if the reference does
* not belong in the standard set (HEAD, branches and remote-tracking
* not belong in the standard set (HEAD, branches and remote-tracking
* branches) and
and
it does not have a reflog.
* branches) and it does not have a reflog.
*
*
* @param out Pointer to the newly created reference
* @param out Pointer to the newly created reference
* @param ref The reference
* @param ref The reference
...
...
include/git2/transport.h
View file @
5aea17f6
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
GIT_BEGIN_DECL
GIT_BEGIN_DECL
/**
/**
* Callback for messages rec
ie
ved by the transport.
* Callback for messages rec
ei
ved by the transport.
*
*
* Return a negative value to cancel the network operation.
* Return a negative value to cancel the network operation.
*
*
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment