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
0037e491
Commit
0037e491
authored
Oct 25, 2010
by
Benjamin C Meyer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix spelling mistakes in the documentation.
Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
parent
544d1519
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
8 deletions
+8
-8
src/git/commit.h
+1
-1
src/git/common.h
+1
-1
src/git/repository.h
+2
-2
src/git/revwalk.h
+2
-2
src/git/tag.h
+1
-1
src/git/tree.h
+1
-1
No files found.
src/git/commit.h
View file @
0037e491
...
@@ -38,7 +38,7 @@ GIT_EXTERN(git_commit *) git_commit_lookup(git_repository *repo, const git_oid *
...
@@ -38,7 +38,7 @@ GIT_EXTERN(git_commit *) git_commit_lookup(git_repository *repo, const git_oid *
* repository.
* repository.
*
*
* @param repo The repository where the object will reside
* @param repo The repository where the object will reside
* @return the object if creation was posible; NULL otherwise
* @return the object if creation was pos
s
ible; NULL otherwise
*/
*/
GIT_EXTERN
(
git_commit
*
)
git_commit_new
(
git_repository
*
repo
);
GIT_EXTERN
(
git_commit
*
)
git_commit_new
(
git_repository
*
repo
);
...
...
src/git/common.h
View file @
0037e491
...
@@ -98,7 +98,7 @@ typedef struct git_object git_object;
...
@@ -98,7 +98,7 @@ typedef struct git_object git_object;
typedef
struct
git_person
{
typedef
struct
git_person
{
char
name
[
64
];
/**< Full name */
char
name
[
64
];
/**< Full name */
char
email
[
64
];
/**< Email address */
char
email
[
64
];
/**< Email address */
time_t
time
;
/**< Time when this person commited the change */
time_t
time
;
/**< Time when this person commit
t
ed the change */
}
git_person
;
}
git_person
;
/** @} */
/** @} */
...
...
src/git/repository.h
View file @
0037e491
...
@@ -62,7 +62,7 @@ GIT_EXTERN(git_odb *) git_repository_database(git_repository *repo);
...
@@ -62,7 +62,7 @@ GIT_EXTERN(git_odb *) git_repository_database(git_repository *repo);
* the given type.
* the given type.
*
*
* The object's attributes can be filled in using the
* The object's attributes can be filled in using the
* correspondi
gn
setter methods.
* correspondi
ng
setter methods.
*
*
* The object will be written back to given git_repository
* The object will be written back to given git_repository
* when the git_object_write() function is called; objects
* when the git_object_write() function is called; objects
...
@@ -118,7 +118,7 @@ const git_oid *git_object_id(git_object *obj);
...
@@ -118,7 +118,7 @@ const git_oid *git_object_id(git_object *obj);
git_otype
git_object_type
(
git_object
*
obj
);
git_otype
git_object_type
(
git_object
*
obj
);
/**
/**
* Free a reference to one of the objects in the repostory.
* Free a reference to one of the objects in the repos
i
tory.
*
*
* Repository objects are managed automatically by the library,
* Repository objects are managed automatically by the library,
* but this method can be used to force freeing one of the
* but this method can be used to force freeing one of the
...
...
src/git/revwalk.h
View file @
0037e491
...
@@ -16,7 +16,7 @@ GIT_BEGIN_DECL
...
@@ -16,7 +16,7 @@ GIT_BEGIN_DECL
/**
/**
* Sort the repository contents in no particular ordering;
* Sort the repository contents in no particular ordering;
* this sorting is arb
rit
ary, implementation-specific
* this sorting is arb
itr
ary, implementation-specific
* and subject to change at any time.
* and subject to change at any time.
* This is the default sorting for new walkers.
* This is the default sorting for new walkers.
*/
*/
...
@@ -54,7 +54,7 @@ typedef struct git_revwalk git_revwalk;
...
@@ -54,7 +54,7 @@ typedef struct git_revwalk git_revwalk;
GIT_EXTERN
(
git_revwalk
*
)
git_revwalk_alloc
(
git_repository
*
repo
);
GIT_EXTERN
(
git_revwalk
*
)
git_revwalk_alloc
(
git_repository
*
repo
);
/**
/**
* Reset the walking machin
a
ry for reuse.
* Reset the walking machin
e
ry for reuse.
* @param walker handle to reset.
* @param walker handle to reset.
*/
*/
GIT_EXTERN
(
void
)
git_revwalk_reset
(
git_revwalk
*
walker
);
GIT_EXTERN
(
void
)
git_revwalk_reset
(
git_revwalk
*
walker
);
...
...
src/git/tag.h
View file @
0037e491
...
@@ -37,7 +37,7 @@ GIT_EXTERN(git_tag *) git_tag_lookup(git_repository *repo, const git_oid *id);
...
@@ -37,7 +37,7 @@ GIT_EXTERN(git_tag *) git_tag_lookup(git_repository *repo, const git_oid *id);
* repository.
* repository.
*
*
* @param repo The repository where the object will reside
* @param repo The repository where the object will reside
* @return the object if creation was posible; NULL otherwise
* @return the object if creation was pos
s
ible; NULL otherwise
*/
*/
GIT_EXTERN
(
git_tag
*
)
git_tag_new
(
git_repository
*
repo
);
GIT_EXTERN
(
git_tag
*
)
git_tag_new
(
git_repository
*
repo
);
...
...
src/git/tree.h
View file @
0037e491
...
@@ -40,7 +40,7 @@ GIT_EXTERN(git_tree *) git_tree_lookup(git_repository *repo, const git_oid *id);
...
@@ -40,7 +40,7 @@ GIT_EXTERN(git_tree *) git_tree_lookup(git_repository *repo, const git_oid *id);
* repository.
* repository.
*
*
* @param repo The repository where the object will reside
* @param repo The repository where the object will reside
* @return the object if creation was posible; NULL otherwise
* @return the object if creation was pos
s
ible; NULL otherwise
*/
*/
GIT_EXTERN
(
git_tree
*
)
git_tree_new
(
git_repository
*
repo
);
GIT_EXTERN
(
git_tree
*
)
git_tree_new
(
git_repository
*
repo
);
...
...
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