mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-28 15:58:29 +00:00
Fix headers for the new Revision Walker
The "oid.h" header is now included instead of "object.h". The old "revwalk.h" header has been removed; it was empty.
This commit is contained in:
parent
7341bf87b1
commit
b5c5f0f808
@ -27,7 +27,7 @@
|
||||
|
||||
#include "common.h"
|
||||
#include "types.h"
|
||||
#include "object.h"
|
||||
#include "oid.h"
|
||||
|
||||
/**
|
||||
* @file git2/revwalk.h
|
||||
|
@ -30,7 +30,6 @@
|
||||
|
||||
#include "common.h"
|
||||
#include "commit.h"
|
||||
#include "revwalk.h"
|
||||
#include "signature.h"
|
||||
|
||||
#define COMMIT_BASIC_PARSE 0x0
|
||||
|
@ -25,10 +25,11 @@
|
||||
|
||||
#include "common.h"
|
||||
#include "commit.h"
|
||||
#include "revwalk.h"
|
||||
#include "hashtable.h"
|
||||
#include "pqueue.h"
|
||||
|
||||
#include "git2/revwalk.h"
|
||||
|
||||
typedef struct commit_object {
|
||||
git_oid oid;
|
||||
uint32_t time;
|
||||
|
@ -1,11 +0,0 @@
|
||||
#ifndef INCLUDE_revwalk_h__
|
||||
#define INCLUDE_revwalk_h__
|
||||
|
||||
#include "git2/common.h"
|
||||
#include "git2/revwalk.h"
|
||||
|
||||
#include "commit.h"
|
||||
#include "repository.h"
|
||||
#include "hashtable.h"
|
||||
|
||||
#endif /* INCLUDE_revwalk_h__ */
|
@ -27,7 +27,6 @@
|
||||
#include "commit.h"
|
||||
#include "tag.h"
|
||||
#include "signature.h"
|
||||
#include "revwalk.h"
|
||||
#include "git2/object.h"
|
||||
#include "git2/repository.h"
|
||||
#include "git2/signature.h"
|
||||
|
@ -25,7 +25,6 @@
|
||||
|
||||
#include "common.h"
|
||||
#include "commit.h"
|
||||
#include "revwalk.h"
|
||||
#include "tree.h"
|
||||
#include "git2/repository.h"
|
||||
#include "git2/object.h"
|
||||
|
@ -25,8 +25,6 @@
|
||||
#include "test_lib.h"
|
||||
#include "test_helpers.h"
|
||||
|
||||
#include "revwalk.h"
|
||||
|
||||
/*
|
||||
$ git log --oneline --graph --decorate
|
||||
* a4a7dce (HEAD, br2) Merge branch 'master' into br2
|
||||
|
Loading…
Reference in New Issue
Block a user