diff options
author | Vicent Marti <tanoku@gmail.com> | 2010-12-03 22:22:10 +0200 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2010-12-06 01:14:15 +0200 |
commit | d12299fe22e549a20e632668fdbe13cab9def9df (patch) | |
tree | 9d70b6bc154e776c49eaaddd9a66eb97aebab661 /src/git.h | |
parent | 7d7cd8857a451ff50b126e452bcbdc0fb397db35 (diff) | |
download | libgit2-d12299fe22e549a20e632668fdbe13cab9def9df.tar.gz |
Change include structure for the project
The maze with include dependencies has been fixed.
There is now a global include:
#include <git.h>
The git_odb_backend API has been exposed.
Signed-off-by: Vicent Marti <tanoku@gmail.com>
Diffstat (limited to 'src/git.h')
-rw-r--r-- | src/git.h | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/src/git.h b/src/git.h new file mode 100644 index 000000000..02ccf77d1 --- /dev/null +++ b/src/git.h @@ -0,0 +1,49 @@ +/* + * This file is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License, version 2, + * as published by the Free Software Foundation. + * + * In addition to the permissions in the GNU General Public License, + * the authors give you unlimited permission to link the compiled + * version of this file into combinations with other programs, + * and to distribute those combinations without any restriction + * coming from the use of this file. (The General Public License + * restrictions do apply in other respects; for example, they cover + * modification of the file, and distribution when not linked into + * a combined executable.) + * + * This file is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; see the file COPYING. If not, write to + * the Free Software Foundation, 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301, USA. + */ + +#ifndef INCLUDE_git_git_h__ +#define INCLUDE_git_git_h__ + +#include "git/common.h" +#include "git/errors.h" +#include "git/zlib.h" + +#include "git/types.h" + +#include "git/oid.h" +#include "git/odb.h" + +#include "git/repository.h" +#include "git/revwalk.h" + +#include "git/object.h" +#include "git/blob.h" +#include "git/commit.h" +#include "git/tag.h" +#include "git/tree.h" + +#include "git/index.h" + +#endif |