mirror of
https://git.proxmox.com/git/libgit2
synced 2025-12-30 19:51:27 +00:00
Blame: minor cleanup
This commit is contained in:
parent
b6f60a4d96
commit
49781a03f0
@ -36,7 +36,7 @@ GIT_BEGIN_DECL
|
||||
* @param repo the repository to look up the object
|
||||
* @param id the unique identifier for 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_object **object,
|
||||
|
||||
@ -8,6 +8,7 @@
|
||||
#include "blame_git.h"
|
||||
#include "commit.h"
|
||||
#include "blob.h"
|
||||
#include "xdiff/xinclude.h"
|
||||
|
||||
/*
|
||||
* 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)
|
||||
*
|
||||
* <---- e ----->
|
||||
* <------> (entirely within)
|
||||
* <------------> (overlaps after)
|
||||
* <------------> (overlaps before)
|
||||
* <------------------> (overlaps both)
|
||||
* <------------> (extends past)
|
||||
* <------------> (starts before)
|
||||
* <------------------> (entirely encloses)
|
||||
*
|
||||
* Split e into potentially three parts; before this chunk, the chunk
|
||||
* to be blamed for the parent, and after that portion.
|
||||
|
||||
@ -8,7 +8,6 @@
|
||||
#define INCLUDE_blame_git__
|
||||
|
||||
#include "blame.h"
|
||||
#include "xdiff/xinclude.h"
|
||||
|
||||
int git_blame__get_origin(
|
||||
git_blame__origin **out,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user