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
773bc20d
Commit
773bc20d
authored
May 03, 2011
by
Jason R. McNeil
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix misspelling of git_index_append2 (was git_index_apppend2).
parent
cc3b82e3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
include/git2/index.h
+2
-2
src/index.c
+1
-1
No files found.
include/git2/index.h
View file @
773bc20d
...
...
@@ -232,10 +232,10 @@ GIT_EXTERN(int) git_index_append(git_index *index, const char *path, int stage);
* @param source_entry new entry object
* @return 0 on success, otherwise an error code
*/
GIT_EXTERN
(
int
)
git_index_app
p
end2
(
git_index
*
index
,
const
git_index_entry
*
source_entry
);
GIT_EXTERN
(
int
)
git_index_append2
(
git_index
*
index
,
const
git_index_entry
*
source_entry
);
/**
* Remove an entry from the index
* Remove an entry from the index
*
* @param index an existing index object
* @param position position of the entry to remove
...
...
src/index.c
View file @
773bc20d
...
...
@@ -421,7 +421,7 @@ int git_index_add2(git_index *index, const git_index_entry *source_entry)
return
index_insert
(
index
,
source_entry
,
1
);
}
int
git_index_app
p
end2
(
git_index
*
index
,
const
git_index_entry
*
source_entry
)
int
git_index_append2
(
git_index
*
index
,
const
git_index_entry
*
source_entry
)
{
return
index_insert
(
index
,
source_entry
,
0
);
}
...
...
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