diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2013-01-12 23:47:56 +0400 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2013-01-12 23:47:56 +0400 |
commit | 25743bd7c5f14f2287d9c4fdf953c978e3b16916 (patch) | |
tree | 7390d1d2d5d52f549329853903f381e58c1b1de6 /tests-clar/index/filemodes.c | |
parent | e2d2c6e57d122f381fb42b7df1c7a12819050490 (diff) |
add an index_remove_bypath that removes conflicts, renamed add_from_workdir to match
Diffstat (limited to 'tests-clar/index/filemodes.c')
-rw-r--r-- | tests-clar/index/filemodes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests-clar/index/filemodes.c b/tests-clar/index/filemodes.c index 6140b11ed..1acd2e341 100644 --- a/tests-clar/index/filemodes.c +++ b/tests-clar/index/filemodes.c @@ -56,7 +56,7 @@ static void add_and_check_mode( int pos; const git_index_entry *entry; - cl_git_pass(git_index_add_from_workdir(index, filename)); + cl_git_pass(git_index_add_bypath(index, filename)); pos = git_index_find(index, filename); cl_assert(pos >= 0); |