File: revert.h

package info (click to toggle)
python-pygit2 1.18.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,720 kB
  • sloc: ansic: 12,584; python: 9,337; sh: 205; makefile: 26
file content (21 lines) | stat: -rw-r--r-- 479 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#define GIT_REVERT_OPTIONS_VERSION ...

typedef struct {
	unsigned int version;
	unsigned int mainline;
	git_merge_options merge_opts;
	git_checkout_options checkout_opts;
} git_revert_options;

int git_revert(
	git_repository *repo,
	git_commit *commit,
	const git_revert_options *given_opts);

int git_revert_commit(
	git_index **out,
	git_repository *repo,
	git_commit *revert_commit,
	git_commit *our_commit,
	unsigned int mainline,
	const git_merge_options *merge_options);