1 #include "git2/object.h"
2 #include "git2/repository.h"
4 extern void assert_on_branch(git_repository
*repo
, const char *branch
);
5 extern void reset_index_to_treeish(git_object
*treeish
);
7 #define check_file_contents(PATH,EXP) \
8 cl_assert_equal_file(EXP,0,PATH)
10 #define check_file_contents_nocr(PATH,EXP) \
11 cl_assert_equal_file_ignore_cr(EXP,0,PATH)
22 extern int checkout_count_callback(
23 git_checkout_notify_t why
,
25 const git_diff_file
*baseline
,
26 const git_diff_file
*target
,
27 const git_diff_file
*workdir
,
30 extern void tick_index(git_index
*index
);