summaryrefslogtreecommitdiff
path: root/git.h
blob: 27b6f353afe07df2368862af0882890cc6df12c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef GIT_H
#define GIT_H

#include <git2.h>
#include <stdint.h>

typedef struct git_repo git_repo;

struct git_repo {
	git_repo *next;
	git_repository *repo;
};

extern void cleanup_git(git_repository **repos);
extern git_repository **init_git(config *cfg);

#endif