2 #include "git2/object.h"
3 #include "git2/repository.h"
5 extern void assert_on_branch(git_repository
*repo
, const char *branch
);
6 extern void reset_index_to_treeish(git_object
*treeish
);
8 #define check_file_contents(PATH,EXP) \
9 cl_assert_equal_file(EXP,0,PATH)
11 #define check_file_contents_nocr(PATH,EXP) \
12 cl_assert_equal_file_ignore_cr(EXP,0,PATH)
23 extern int checkout_count_callback(
24 git_checkout_notify_t why
,
26 const git_diff_file
*baseline
,
27 const git_diff_file
*target
,
28 const git_diff_file
*workdir
,
31 extern void tick_index(git_index
*index
);