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
edcb6ee6
Commit
edcb6ee6
authored
Feb 07, 2013
by
Ben Straub
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Introduce git_blame_buffer
parent
168e9d74
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
include/git2/blame.h
+14
-0
No files found.
include/git2/blame.h
View file @
edcb6ee6
...
@@ -153,6 +153,20 @@ GIT_EXTERN(int) git_blame_file(
...
@@ -153,6 +153,20 @@ GIT_EXTERN(int) git_blame_file(
/**
/**
* Get blame data for a file that has been modified.
*
* @param out pointer that will receive the results object
* @param reference output from git_blame_file for the file in question
* @param buffer the (possibly) modified contents of the file
* @return 0 on success, or an error code. (use giterr_last for information
* about the error)
*/
GIT_EXTERN
(
int
)
git_blame_buffer
(
git_blame_results
**
out
,
git_blame_results
*
reference
,
const
char
*
buffer
);
/**
* Free memory allocated by git_blame.
* Free memory allocated by git_blame.
*
*
* @param results results structure to free
* @param results results structure to free
...
...
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