Home
last modified time | relevance | path

Searched refs:git_index_add_bypath (Results 1 – 25 of 165) sorted by relevance

1234567

/dports/devel/libgit2/libgit2-1.3.0/tests/index/
H A Dbypath.c32 cl_git_pass(git_index_add_bypath(g_idx, sm_name)); in test_index_bypath__add_submodule()
43 cl_git_pass(git_index_add_bypath(g_idx, sm_name)); in test_index_bypath__add_submodule_unregistered()
66 cl_git_pass(git_index_add_bypath(g_idx, "hidden_file")); in test_index_bypath__add_hidden()
81 cl_git_pass(git_index_add_bypath(g_idx, "just_a_dir/file1.txt")); in test_index_bypath__add_keeps_existing_case()
87 cl_git_pass(git_index_add_bypath(g_idx, "just_a_dir/FILE1.txt")); in test_index_bypath__add_keeps_existing_case()
105 cl_git_pass(git_index_add_bypath(g_idx, "just_a_dir/File1.txt")); in test_index_bypath__add_honors_existing_case()
106 cl_git_pass(git_index_add_bypath(g_idx, "JUST_A_DIR/file2.txt")); in test_index_bypath__add_honors_existing_case()
261 cl_git_pass(git_index_add_bypath(g_idx, "README.txt")); in test_index_bypath__add_honors_mode()
293 cl_git_pass(git_index_add_bypath(g_idx, "README.txt")); in test_index_bypath__add_honors_conflict_mode()
325 cl_git_pass(git_index_add_bypath(g_idx, "README.txt")); in test_index_bypath__add_honors_conflict_case()
[all …]
H A Dcrlf.c69 cl_git_pass(git_index_add_bypath(g_index, basename)); in add_and_check_file()
84 if (git_index_add_bypath(g_index, basename) == 0 || in add_and_check_file()
243 cl_git_pass(git_index_add_bypath(g_index, "newfile.txt")); in test_index_crlf__autocrlf_false_no_attrs()
261 cl_git_pass(git_index_add_bypath(g_index, "newfile.txt")); in test_index_crlf__autocrlf_true_no_attrs()
278 cl_git_pass(git_index_add_bypath(g_index, "newfile.txt")); in test_index_crlf__autocrlf_input_no_attrs()
297 cl_git_pass(git_index_add_bypath(g_index, "newfile.txt")); in test_index_crlf__autocrlf_false_text_auto_attr()
316 cl_git_pass(git_index_add_bypath(g_index, "newfile.txt")); in test_index_crlf__autocrlf_true_text_auto_attr()
335 cl_git_pass(git_index_add_bypath(g_index, "newfile.txt")); in test_index_crlf__autocrlf_input_text_auto_attr()
354 cl_git_pass(git_index_add_bypath(g_index, "newfile.txt")); in test_index_crlf__safecrlf_true_autocrlf_input_text_auto_attr()
375 cl_git_pass(git_index_add_bypath(g_index, "newfile.txt")); in test_index_crlf__safecrlf_true_autocrlf_input_text__no_attr()
[all …]
H A Dread_tree.c27 cl_git_pass(git_index_add_bypath(index, "abc-d")); in test_index_read_tree__read_write_involution()
28 cl_git_pass(git_index_add_bypath(index, "abc_d")); in test_index_read_tree__read_write_involution()
29 cl_git_pass(git_index_add_bypath(index, "abc/d")); in test_index_read_tree__read_write_involution()
H A Dtests.c265 cl_git_pass(git_index_add_bypath(index, "test.txt")); in test_index_tests__add()
452 cl_git_pass(git_index_add_bypath(index, "test.txt")); in test_index_tests__add_frombuffer_reset_entry()
555 cl_git_fail(git_index_add_bypath(index, fn)); in assert_add_bypath_fails()
680 cl_git_pass(git_index_add_bypath(index, fn)); in assert_write_fails()
794 cl_git_pass(git_index_add_bypath(index, "git~1")); in test_index_tests__can_disable_protectntfs()
814 cl_git_pass(git_index_add_bypath(index, "hello")); in test_index_tests__remove_entry()
850 cl_git_pass(git_index_add_bypath(index, "a/1.txt")); in test_index_tests__remove_directory()
851 cl_git_pass(git_index_add_bypath(index, "a/2.txt")); in test_index_tests__remove_directory()
852 cl_git_pass(git_index_add_bypath(index, "a/3.txt")); in test_index_tests__remove_directory()
853 cl_git_pass(git_index_add_bypath(index, "b.txt")); in test_index_tests__remove_directory()
[all …]
H A Drename.c22 cl_git_pass(git_index_add_bypath(index, "lame.name.txt")); in test_index_rename__single_file()
38 cl_git_pass(git_index_add_bypath(index, "fancy.name.txt")); in test_index_rename__single_file()
66 cl_git_pass(git_index_add_bypath(index, "lame.name.txt")); in test_index_rename__casechanging()
H A Dracy.c34 cl_git_pass(git_index_add_bypath(index, "A")); in test_index_racy__diff()
77 cl_git_pass(git_index_add_bypath(index, "A")); in test_index_racy__write_index_just_after_file()
118 cl_git_pass(git_index_add_bypath(index, "A")); in setup_race()
183 cl_git_pass(git_index_add_bypath(index, "A")); in setup_uptodate_files()
H A Dinmemory.c19 cl_assert_equal_i(GIT_ERROR, git_index_add_bypath(index, "test.txt")); in test_index_inmemory__cannot_add_bypath_to_an_inmemory_index()
/dports/devel/libgit2/libgit2-1.3.0/tests/stash/
H A Dstash_helpers.c19 cl_git_pass(git_index_add_bypath(index, "what")); in setup_stash()
20 cl_git_pass(git_index_add_bypath(index, "how")); in setup_stash()
21 cl_git_pass(git_index_add_bypath(index, "who")); in setup_stash()
22 cl_git_pass(git_index_add_bypath(index, ".gitignore")); in setup_stash()
32 cl_git_pass(git_index_add_bypath(index, "what")); in setup_stash()
33 cl_git_pass(git_index_add_bypath(index, "how")); in setup_stash()
34 cl_git_pass(git_index_add_bypath(index, "why")); in setup_stash()
35 cl_git_pass(git_index_add_bypath(index, "where")); in setup_stash()
H A Dapply.c22 cl_git_pass(git_index_add_bypath(repo_index, "what")); in test_stash_apply__initialize()
23 cl_git_pass(git_index_add_bypath(repo_index, "how")); in test_stash_apply__initialize()
24 cl_git_pass(git_index_add_bypath(repo_index, "who")); in test_stash_apply__initialize()
34 cl_git_pass(git_index_add_bypath(repo_index, "who")); in test_stash_apply__initialize()
35 cl_git_pass(git_index_add_bypath(repo_index, "why")); in test_stash_apply__initialize()
36 cl_git_pass(git_index_add_bypath(repo_index, "where")); in test_stash_apply__initialize()
102 cl_git_pass(git_index_add_bypath(repo_index, "where")); in test_stash_apply__merges_new_file()
145 cl_git_pass(git_index_add_bypath(repo_index, "who")); in test_stash_apply__conflict_index_with_default()
166 cl_git_pass(git_index_add_bypath(repo_index, "who")); in test_stash_apply__conflict_index_with_reinstate_index()
253 cl_git_pass(git_index_add_bypath(repo_index, "what")); in test_stash_apply__conflict_commit_with_default()
[all …]
H A Dsubmodules.c43 cl_git_pass(git_index_add_bypath(smindex, "README")); in test_stash_submodules__does_not_stash_modified_submodules()
73 cl_git_pass(git_index_add_bypath(smindex, "README")); in test_stash_submodules__stash_is_empty_with_modified_submodules()
H A Dsave.c317 cl_git_pass(git_index_add_bypath(index, "what")); in test_stash_save__cannot_stash_when_there_are_no_local_change()
318 cl_git_pass(git_index_add_bypath(index, "where")); in test_stash_save__cannot_stash_when_there_are_no_local_change()
319 cl_git_pass(git_index_add_bypath(index, "who")); in test_stash_save__cannot_stash_when_there_are_no_local_change()
/dports/devel/libgit2/libgit2-1.3.0/tests/status/
H A Drenames.c110 cl_git_pass(git_index_add_bypath(index, "newname.txt")); in test_status_renames__head2index_one()
147 cl_git_pass(git_index_add_bypath(index, "ddd.txt")); in test_status_renames__head2index_two()
148 cl_git_pass(git_index_add_bypath(index, "aaa.txt")); in test_status_renames__head2index_two()
149 cl_git_pass(git_index_add_bypath(index, "ccc.txt")); in test_status_renames__head2index_two()
150 cl_git_pass(git_index_add_bypath(index, "bbb.txt")); in test_status_renames__head2index_two()
178 cl_git_pass(git_index_add_bypath(index, "ikeepsix.txt")); in test_status_renames__head2index_no_rename_from_rewrite()
208 cl_git_pass(git_index_add_bypath(index, "ikeepsix.txt")); in test_status_renames__head2index_rename_from_rewrite()
393 cl_git_pass(git_index_add_bypath(index, "ikeepsix.txt")); in test_status_renames__both_rename_from_rewrite()
542 cl_git_pass(git_index_add_bypath(index, "songof7.txt")); in test_status_renames__both_casechange_two()
676 cl_git_pass(git_index_add_bypath(index, nfd)); in test_status_renames__precomposed_unicode_toggle_is_rename()
[all …]
H A Dworktree_init.c43 cl_git_pass(git_index_add_bypath(index, "testfile.txt")); in test_status_worktree_init__first_commit_in_progress()
176 cl_git_pass(git_index_add_bypath(index, FILE_WITH_BRACKET)); in test_status_worktree_init__bracket_in_filename()
253 cl_git_pass(git_index_add_bypath(index, FILE_WITH_SPACE)); in test_status_worktree_init__space_in_filename()
329 cl_git_pass(git_index_add_bypath(index, "testfile.txt")); in test_status_worktree_init__new_staged_file_must_handle_crlf()
H A Dsubmodules.c427 cl_git_pass(git_index_add_bypath(idx, "broken/tracked")); in test_status_submodules__broken_stuff_that_git_allows()
499 cl_git_pass(git_index_add_bypath(index, ".gitmodules")); in test_status_submodules__entry_but_dir_tracked()
500 cl_git_pass(git_index_add_bypath(index, "sub/file")); in test_status_submodules__entry_but_dir_tracked()
/dports/devel/libgit2/libgit2-1.3.0/tests/checkout/
H A Dhead.c43 cl_git_pass(git_index_add_bypath(index, "newdir/newfile.txt")); in test_checkout_head__with_index_only_tree()
74 cl_git_pass(git_index_add_bypath(index, "tracked/tracked")); in test_checkout_head__do_not_remove_untracked_file()
98 cl_git_pass(git_index_add_bypath(index, "tracked/tracked")); in test_checkout_head__do_not_remove_untracked_file_in_subdir()
99 cl_git_pass(git_index_add_bypath(index, "tracked/subdir/tracked")); in test_checkout_head__do_not_remove_untracked_file_in_subdir()
124 cl_git_pass(git_index_add_bypath(index, "tracked/tracked")); in test_checkout_head__do_remove_untracked_paths()
151 cl_git_pass(git_index_add_bypath(index, "subdir/tracked-file")); in test_checkout_head__do_remove_tracked_subdir()
152 cl_git_pass(git_index_add_bypath(index, "subdir/tracked/tracked1")); in test_checkout_head__do_remove_tracked_subdir()
153 cl_git_pass(git_index_add_bypath(index, "subdir/tracked/tracked2")); in test_checkout_head__do_remove_tracked_subdir()
200 cl_git_pass(git_index_add_bypath(index, "new.txt")); in test_checkout_head__typechange_index_and_workdir()
H A Dcrlf.c336 cl_git_pass(git_index_add_bypath(index, "lf.ident")); in test_checkout_crlf__with_ident()
337 cl_git_pass(git_index_add_bypath(index, "crlf.ident")); in test_checkout_crlf__with_ident()
338 cl_git_pass(git_index_add_bypath(index, "more1.identlf")); in test_checkout_crlf__with_ident()
339 cl_git_pass(git_index_add_bypath(index, "more2.identcrlf")); in test_checkout_crlf__with_ident()
H A Dindex.c115 cl_git_pass(git_index_add_bypath(index, "test9.txt")); in test_checkout_index__can_disable_pathspec_match()
116 cl_git_pass(git_index_add_bypath(index, "test10.txt")); in test_checkout_index__can_disable_pathspec_match()
117 cl_git_pass(git_index_add_bypath(index, "test11.txt")); in test_checkout_index__can_disable_pathspec_match()
118 cl_git_pass(git_index_add_bypath(index, "test12.txt")); in test_checkout_index__can_disable_pathspec_match()
570 cl_git_pass(git_index_add_bypath(index, "path0")); in test_checkout_index__can_overcome_name_clashes()
571 cl_git_pass(git_index_add_bypath(index, "path1/file1")); in test_checkout_index__can_overcome_name_clashes()
/dports/devel/libgit2/libgit2-1.3.0/tests/diff/
H A Drename.c419 cl_git_pass(git_index_add_bypath(index, "small.txt")); in test_diff_rename__test_small_files()
688 cl_git_pass(git_index_add_bypath(index, "untimely.txt")); in test_diff_rename__file_exchange()
739 cl_git_pass(git_index_add_bypath(index, "untimely.txt")); in test_diff_rename__file_exchange_three()
845 cl_git_pass(git_index_add_bypath(index, "song_a.txt")); in test_diff_rename__rename_and_copy_from_same_source()
846 cl_git_pass(git_index_add_bypath(index, "song_b.txt")); in test_diff_rename__rename_and_copy_from_same_source()
1006 cl_git_pass(git_index_add_bypath(index, "ClassA.cs")); in test_diff_rename__rejected_match_can_match_others()
1007 cl_git_pass(git_index_add_bypath(index, "ClassB.cs")); in test_diff_rename__rejected_match_can_match_others()
1080 cl_git_pass(git_index_add_bypath(index, "c.txt")); in test_diff_rename__rejected_match_can_match_others_two()
1081 cl_git_pass(git_index_add_bypath(index, "d.txt")); in test_diff_rename__rejected_match_can_match_others_two()
1136 cl_git_pass(git_index_add_bypath(index, "0001.txt")); in test_diff_rename__rejected_match_can_match_others_three()
[all …]
H A Dbinary.c232 cl_git_pass(git_index_add_bypath(index, "songof7cities.txt")); in test_diff_binary__delta()
267 cl_git_pass(git_index_add_bypath(index, "untimely.txt")); in test_diff_binary__delta_append()
341 cl_git_pass(git_index_add_bypath(index, "untimely.txt")); in test_diff_binary__index_to_workdir()
511 cl_git_pass(git_index_add_bypath(index, "untimely.txt")); in test_diff_binary__blob_to_blob()
/dports/devel/libgit2/libgit2-1.3.0/tests/object/commit/
H A Dcommitstagedfile.c76 cl_git_pass(git_index_add_bypath(index, "test.txt")); in test_object_commit_commitstagedfile__generate_predictable_object_ids()
164 cl_git_pass(git_index_add_bypath(index, "myfile")); in test_object_commit_commitstagedfile__amend_commit()
195 cl_git_pass(git_index_add_bypath(index, "anotherfile")); in test_object_commit_commitstagedfile__amend_commit()
/dports/devel/libgit2/libgit2-1.3.0/tests/stress/
H A Ddiff.c33 cl_git_pass(git_index_add_bypath(index, "ikeepsix2.txt")); in test_with_many()
108 cl_git_pass(git_index_add_bypath(index, tmp + strlen("renames/"))); in test_stress_diff__rename_big_files()
140 cl_git_pass(git_index_add_bypath(index, tmp + strlen("renames/"))); in test_stress_diff__rename_many_files()
/dports/deskutils/basket/basket-2.49a-46-g60e38c6/src/
H A Dgitwrapper.cpp122 error = git_index_add_bypath(index, basketxmlCString); in commitCreateBasket()
155 error = git_index_add_bypath(index, tagsxmlCString); in commitTagsXml()
195 error = git_index_add_bypath(index, basketxmlCString); in commitDeleteBasket()
258 error = git_index_add_bypath(index, basketxmlCString); in commitBasket()
/dports/devel/libgit2/libgit2-1.3.0/tests/win32/
H A Dforbidden.c75 cl_git_fail(git_index_add_bypath(index, "aux.")); in test_win32_forbidden__cannot_add_forbidden_filename_from_filesystem()
77 cl_git_pass(git_index_add_bypath(index, "aux.")); in test_win32_forbidden__cannot_add_forbidden_filename_from_filesystem()
/dports/devel/libgit2/libgit2-1.3.0/tests/filter/
H A Dcustom.c208 cl_git_pass(git_index_add_bypath(index, "hero.1.rev-ident")); in test_filter_custom__order_dependency()
209 cl_git_pass(git_index_add_bypath(index, "hero.2.rev-ident")); in test_filter_custom__order_dependency()
/dports/devel/libgit2/libgit2-1.3.0/tests/threads/
H A Ddiff.c170 case 0: (void)git_index_add_bypath(idx, "new_file"); break; in run_index_diffs_with_modifier()
173 case 3: (void)git_index_add_bypath(idx, "modified_file"); break; in run_index_diffs_with_modifier()

1234567