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
d2c16e9a
Commit
d2c16e9a
authored
May 02, 2014
by
Russell Belfer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Doc fixes
parent
272b462d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
include/git2/merge.h
+2
-2
include/git2/object.h
+5
-0
No files found.
include/git2/merge.h
View file @
d2c16e9a
...
...
@@ -61,7 +61,7 @@ GIT_EXTERN(int) git_merge_file_init_input(
/**
* Flags for `git_merge_tree` options. A combination of these flags can be
* passed in via the `flags` value in the `git_merge_
tree_opt
s`.
* passed in via the `flags` value in the `git_merge_
option
s`.
*/
typedef
enum
{
/**
...
...
@@ -73,7 +73,7 @@ typedef enum {
}
git_merge_tree_flag_t
;
/**
* Merge file favor options for `git_merge_
trees_opt
s` instruct the file-level
* Merge file favor options for `git_merge_
option
s` instruct the file-level
* merging functionality how to deal with conflicting regions of the files.
*/
typedef
enum
{
...
...
include/git2/object.h
View file @
d2c16e9a
...
...
@@ -107,6 +107,11 @@ GIT_EXTERN(const git_oid *) git_object_id(const git_object *obj);
/**
* Get a short abbreviated OID string for the object
*
* This starts at the "core.abbrev" length (default 7 characters) and
* iteratively extends to a longer string if that length is ambiguous.
* The result will be unambiguous (at least until new objects are added to
* the repository).
*
* @param out Buffer to write string into
* @param obj The object to get an ID for
* @return 0 on success, <0 for error
...
...
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