config.h 539 Bytes
Newer Older
Vicent Marti committed
1 2 3 4 5 6
/*
 * Copyright (C) 2009-2011 the libgit2 contributors
 *
 * This file is part of libgit2, distributed under the GNU GPL v2 with
 * a Linking Exception. For full terms see the included COPYING file.
 */
7 8 9
#ifndef INCLUDE_config_h__
#define INCLUDE_config_h__

10
#include "git2.h"
11
#include "git2/config.h"
12
#include "vector.h"
13
#include "repository.h"
14

15
#define GIT_CONFIG_FILENAME ".gitconfig"
16
#define GIT_CONFIG_FILENAME_INREPO "config"
17
#define GIT_CONFIG_FILE_MODE 0666
18

19
struct git_config {
20
	git_vector files;
21
	git_repository *repo;
22 23 24
};

#endif