diff options
author | Vicent Marti <tanoku@gmail.com> | 2011-03-16 23:59:09 +0200 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2011-03-16 23:59:09 +0200 |
commit | b5c5f0f8086ee4e9bccf0703386fd5219ac380c2 (patch) | |
tree | d1e024d75907d24c3fa535b0c95d46437feab01d /src | |
parent | 7341bf87b111dfa0cf12761389e0e7a118363f42 (diff) | |
download | libgit2-b5c5f0f8086ee4e9bccf0703386fd5219ac380c2.tar.gz |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/commit.c | 1 | ||||
-rw-r--r-- | src/revwalk.c | 3 | ||||
-rw-r--r-- | src/revwalk.h | 11 | ||||
-rw-r--r-- | src/tag.c | 1 | ||||
-rw-r--r-- | src/tree.c | 1 |
5 files changed, 2 insertions, 15 deletions
diff --git a/src/commit.c b/src/commit.c index 1c5cddf7a..8da170cad 100644 --- a/src/commit.c +++ b/src/commit.c @@ -30,7 +30,6 @@ #include "common.h" #include "commit.h" -#include "revwalk.h" #include "signature.h" #define COMMIT_BASIC_PARSE 0x0 diff --git a/src/revwalk.c b/src/revwalk.c index a2fc092d5..3b7ad34e6 100644 --- a/src/revwalk.c +++ b/src/revwalk.c @@ -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; diff --git a/src/revwalk.h b/src/revwalk.h deleted file mode 100644 index 2970d773c..000000000 --- a/src/revwalk.h +++ /dev/null @@ -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" diff --git a/src/tree.c b/src/tree.c index 702cccbce..307d41b0d 100644 --- a/src/tree.c +++ b/src/tree.c @@ -25,7 +25,6 @@ #include "common.h" #include "commit.h" -#include "revwalk.h" #include "tree.h" #include "git2/repository.h" #include "git2/object.h" |