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
49781a03
Commit
49781a03
authored
Sep 25, 2013
by
Ben Straub
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Blame: minor cleanup
parent
b6f60a4d
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
include/git2/object.h
+1
-1
src/blame_git.c
+4
-3
src/blame_git.h
+0
-1
No files found.
include/git2/object.h
View file @
49781a03
...
@@ -36,7 +36,7 @@ GIT_BEGIN_DECL
...
@@ -36,7 +36,7 @@ GIT_BEGIN_DECL
* @param repo the repository to look up the object
* @param repo the repository to look up the object
* @param id the unique identifier for the object
* @param id the unique identifier for the object
* @param type the type of the object
* @param type the type of the object
* @return
a reference to the object
* @return
0 or an error code
*/
*/
GIT_EXTERN
(
int
)
git_object_lookup
(
GIT_EXTERN
(
int
)
git_object_lookup
(
git_object
**
object
,
git_object
**
object
,
...
...
src/blame_git.c
View file @
49781a03
...
@@ -8,6 +8,7 @@
...
@@ -8,6 +8,7 @@
#include "blame_git.h"
#include "blame_git.h"
#include "commit.h"
#include "commit.h"
#include "blob.h"
#include "blob.h"
#include "xdiff/xinclude.h"
/*
/*
* Origin is refcounted and usually we keep the blob contents to be
* Origin is refcounted and usually we keep the blob contents to be
...
@@ -108,9 +109,9 @@ static int find_last_in_target(git_blame *blame, git_blame__origin *target)
...
@@ -108,9 +109,9 @@ static int find_last_in_target(git_blame *blame, git_blame__origin *target)
*
*
* <---- e ----->
* <---- e ----->
* <------> (entirely within)
* <------> (entirely within)
* <------------> (
overlaps after
)
* <------------> (
extends past
)
* <------------> (
overlap
s before)
* <------------> (
start
s before)
* <------------------> (
overlaps both
)
* <------------------> (
entirely encloses
)
*
*
* Split e into potentially three parts; before this chunk, the chunk
* Split e into potentially three parts; before this chunk, the chunk
* to be blamed for the parent, and after that portion.
* to be blamed for the parent, and after that portion.
...
...
src/blame_git.h
View file @
49781a03
...
@@ -8,7 +8,6 @@
...
@@ -8,7 +8,6 @@
#define INCLUDE_blame_git__
#define INCLUDE_blame_git__
#include "blame.h"
#include "blame.h"
#include "xdiff/xinclude.h"
int
git_blame__get_origin
(
int
git_blame__get_origin
(
git_blame__origin
**
out
,
git_blame__origin
**
out
,
...
...
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