diff options
Diffstat (limited to 'tests/index/bypath.c')
-rw-r--r-- | tests/index/bypath.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/index/bypath.c b/tests/index/bypath.c index 34a7412a8..f911ffb51 100644 --- a/tests/index/bypath.c +++ b/tests/index/bypath.c @@ -285,7 +285,7 @@ void test_index_bypath__add_honors_conflict_mode(void) cl_git_pass(git_index_remove_bypath(g_idx, "README.txt")); for (stage = 1; stage <= 3; stage++) { - new_entry.flags = stage << GIT_IDXENTRY_STAGESHIFT; + new_entry.flags = stage << GIT_INDEX_ENTRY_STAGESHIFT; cl_git_pass(git_index_add(g_idx, &new_entry)); } @@ -317,7 +317,7 @@ void test_index_bypath__add_honors_conflict_case(void) cl_git_pass(git_index_remove_bypath(g_idx, "README.txt")); for (stage = 1; stage <= 3; stage++) { - new_entry.flags = stage << GIT_IDXENTRY_STAGESHIFT; + new_entry.flags = stage << GIT_INDEX_ENTRY_STAGESHIFT; cl_git_pass(git_index_add(g_idx, &new_entry)); } |