Home
last modified time | relevance | path

Searched refs:blob_oid (Results 1 – 25 of 34) sorted by relevance

12

/dports/devel/py-pygit2/pygit2-1.7.1/test/
H A Dtest_blob.py93 blob_oid = testrepo.create_blob(BLOB_NEW_CONTENT)
94 blob = testrepo[blob_oid]
99 assert blob_oid == blob.id
115 blob = testrepo[blob_oid]
120 assert blob_oid == blob.id
129 blob = testrepo[blob_oid]
140 blob = testrepo[blob_oid]
150 blob_oid = testrepo.create_blob_fromiobase(f)
151 blob = testrepo[blob_oid]
156 assert blob_oid == blob.id
[all …]
/dports/devel/libgit2/libgit2-1.3.0/tests/object/tree/
H A Dattributes.c6 static const char *blob_oid = "3d0970ec547fc41ef8a5882dde99c6adce65b021"; variable
24 cl_git_pass(git_oid_fromstr(&oid, blob_oid)); in test_object_tree_attributes__ensure_correctness_of_attributes_on_insertion()
59 cl_git_pass(git_oid_fromstr(&bid, blob_oid)); in test_object_tree_attributes__treebuilder_reject_invalid_filemode()
H A Dwrite.c5 static const char *blob_oid = "fa49b077972391ad58037050f2a75f74e3671e92"; variable
34 git_oid_fromstr(&bid, blob_oid); in test_object_tree_write__from_memory()
77 git_oid_fromstr(&bid, blob_oid); in test_object_tree_write__subtree()
138 cl_git_pass(git_oid_fromstr(&bid, blob_oid)); in test_object_tree_write__sorted_subtrees()
198 cl_git_pass(git_oid_fromstr(&entry_oid, blob_oid)); in test_object_tree_write__removing_and_re_adding_in_treebuilder()
289 git_oid_fromstr(&entry_oid, blob_oid); in test_object_tree_write__filtering()
351 git_oid_fromstr(&bid, blob_oid); in test_object_tree_write__cruel_paths()
463 cl_git_pass(git_oid_fromstr(&valid_blob_id, blob_oid)); in test_invalid_objects()
/dports/devel/git-svn/git-2.34.1/
H A Dblame.c103 struct object_id blob_oid; in verify_working_tree_path() local
288 oidcpy(&ce->oid, &origin->blob_oid); in fake_working_tree_commit()
1037 oid_to_hex(&o->blob_oid), in fill_origin_blob()
1239 if (!is_null_oid(&origin->blob_oid)) in fill_blob_sha1_and_mode()
1247 oidclr(&origin->blob_oid); in fill_blob_sha1_and_mode()
1370 oidcpy(&porigin->blob_oid, &origin->blob_oid); in find_origin()
1396 oidcpy(&porigin->blob_oid, &p->one->oid); in find_origin()
1444 oidcpy(&porigin->blob_oid, &p->one->oid); in find_rename()
2452 if (oideq(&porigin->blob_oid, &origin->blob_oid)) {
2459 oideq(&sg_origin[j]->blob_oid, &porigin->blob_oid)) {
[all …]
H A Dblame.h58 struct object_id blob_oid; member
H A Dnotes-merge.c700 struct object_id obj_oid, blob_oid; in notes_merge_commit() local
713 if (index_path(o->repo->index, &blob_oid, path.buf, &st, HASH_WRITE_OBJECT)) in notes_merge_commit()
715 if (add_note(partial_tree, &obj_oid, &blob_oid, NULL)) in notes_merge_commit()
720 oid_to_hex(&obj_oid), oid_to_hex(&blob_oid)); in notes_merge_commit()
/dports/devel/git-gui/git-2.34.1/
H A Dblame.c103 struct object_id blob_oid; in verify_working_tree_path() local
288 oidcpy(&ce->oid, &origin->blob_oid); in fake_working_tree_commit()
1037 oid_to_hex(&o->blob_oid), in fill_origin_blob()
1239 if (!is_null_oid(&origin->blob_oid)) in fill_blob_sha1_and_mode()
1247 oidclr(&origin->blob_oid); in fill_blob_sha1_and_mode()
1370 oidcpy(&porigin->blob_oid, &origin->blob_oid); in find_origin()
1396 oidcpy(&porigin->blob_oid, &p->one->oid); in find_origin()
1444 oidcpy(&porigin->blob_oid, &p->one->oid); in find_rename()
2452 if (oideq(&porigin->blob_oid, &origin->blob_oid)) {
2459 oideq(&sg_origin[j]->blob_oid, &porigin->blob_oid)) {
[all …]
H A Dblame.h58 struct object_id blob_oid; member
H A Dnotes-merge.c700 struct object_id obj_oid, blob_oid; in notes_merge_commit() local
713 if (index_path(o->repo->index, &blob_oid, path.buf, &st, HASH_WRITE_OBJECT)) in notes_merge_commit()
715 if (add_note(partial_tree, &obj_oid, &blob_oid, NULL)) in notes_merge_commit()
720 oid_to_hex(&obj_oid), oid_to_hex(&blob_oid)); in notes_merge_commit()
/dports/devel/git-p4/git-2.34.1/
H A Dblame.c103 struct object_id blob_oid; in verify_working_tree_path() local
288 oidcpy(&ce->oid, &origin->blob_oid); in fake_working_tree_commit()
1037 oid_to_hex(&o->blob_oid), in fill_origin_blob()
1239 if (!is_null_oid(&origin->blob_oid)) in fill_blob_sha1_and_mode()
1247 oidclr(&origin->blob_oid); in fill_blob_sha1_and_mode()
1370 oidcpy(&porigin->blob_oid, &origin->blob_oid); in find_origin()
1396 oidcpy(&porigin->blob_oid, &p->one->oid); in find_origin()
1444 oidcpy(&porigin->blob_oid, &p->one->oid); in find_rename()
2452 if (oideq(&porigin->blob_oid, &origin->blob_oid)) {
2459 oideq(&sg_origin[j]->blob_oid, &porigin->blob_oid)) {
[all …]
H A Dblame.h58 struct object_id blob_oid; member
H A Dnotes-merge.c700 struct object_id obj_oid, blob_oid; in notes_merge_commit() local
713 if (index_path(o->repo->index, &blob_oid, path.buf, &st, HASH_WRITE_OBJECT)) in notes_merge_commit()
715 if (add_note(partial_tree, &obj_oid, &blob_oid, NULL)) in notes_merge_commit()
720 oid_to_hex(&obj_oid), oid_to_hex(&blob_oid)); in notes_merge_commit()
/dports/devel/git/git-2.34.1/
H A Dblame.c103 struct object_id blob_oid; in verify_working_tree_path() local
288 oidcpy(&ce->oid, &origin->blob_oid); in fake_working_tree_commit()
1037 oid_to_hex(&o->blob_oid), in fill_origin_blob()
1239 if (!is_null_oid(&origin->blob_oid)) in fill_blob_sha1_and_mode()
1247 oidclr(&origin->blob_oid); in fill_blob_sha1_and_mode()
1370 oidcpy(&porigin->blob_oid, &origin->blob_oid); in find_origin()
1396 oidcpy(&porigin->blob_oid, &p->one->oid); in find_origin()
1444 oidcpy(&porigin->blob_oid, &p->one->oid); in find_rename()
2452 if (oideq(&porigin->blob_oid, &origin->blob_oid)) {
2459 oideq(&sg_origin[j]->blob_oid, &porigin->blob_oid)) {
[all …]
H A Dblame.h58 struct object_id blob_oid; member
/dports/devel/git-cvs/git-2.34.1/
H A Dblame.c103 struct object_id blob_oid; in verify_working_tree_path() local
288 oidcpy(&ce->oid, &origin->blob_oid); in fake_working_tree_commit()
1037 oid_to_hex(&o->blob_oid), in fill_origin_blob()
1239 if (!is_null_oid(&origin->blob_oid)) in fill_blob_sha1_and_mode()
1247 oidclr(&origin->blob_oid); in fill_blob_sha1_and_mode()
1370 oidcpy(&porigin->blob_oid, &origin->blob_oid); in find_origin()
1396 oidcpy(&porigin->blob_oid, &p->one->oid); in find_origin()
1444 oidcpy(&porigin->blob_oid, &p->one->oid); in find_rename()
2452 if (oideq(&porigin->blob_oid, &origin->blob_oid)) {
2459 oideq(&sg_origin[j]->blob_oid, &porigin->blob_oid)) {
[all …]
H A Dblame.h58 struct object_id blob_oid; member
/dports/devel/cgit/cgit-1.2.3/git/
H A Dblame.c101 struct object_id blob_oid; in verify_working_tree_path() local
286 oidcpy(&ce->oid, &origin->blob_oid); in fake_working_tree_commit()
1035 oid_to_hex(&o->blob_oid), in fill_origin_blob()
1236 if (!is_null_oid(&origin->blob_oid)) in fill_blob_sha1_and_mode()
1244 oidclr(&origin->blob_oid); in fill_blob_sha1_and_mode()
1298 oidcpy(&porigin->blob_oid, &origin->blob_oid); in find_origin()
1324 oidcpy(&porigin->blob_oid, &p->one->oid); in find_origin()
1370 oidcpy(&porigin->blob_oid, &p->one->oid); in find_rename()
2375 if (oideq(&porigin->blob_oid, &origin->blob_oid)) { in pass_blame()
2382 oideq(&sg_origin[j]->blob_oid, &porigin->blob_oid)) { in pass_blame()
[all …]
H A Dblame.h56 struct object_id blob_oid; member
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/spec/support/helpers/
H A Drepo_helpers.rb203 blob_oid = repo.head.target.tree.detect { |i| i[:name] == "CHANGELOG" }[:oid]
204 file_content = repo.lookup(blob_oid).content
/dports/devel/git-p4/git-2.34.1/builtin/
H A Dcat-file.c158 struct object_id blob_oid; in cat_one_file() local
164 get_oid_hex(target, &blob_oid)) in cat_one_file()
168 oidcpy(&blob_oid, &oid); in cat_one_file()
170 if (oid_object_info(the_repository, &blob_oid, NULL) == OBJ_BLOB) in cat_one_file()
171 return stream_blob(&blob_oid); in cat_one_file()
/dports/devel/git/git-2.34.1/builtin/
H A Dcat-file.c158 struct object_id blob_oid; in cat_one_file() local
164 get_oid_hex(target, &blob_oid)) in cat_one_file()
168 oidcpy(&blob_oid, &oid); in cat_one_file()
170 if (oid_object_info(the_repository, &blob_oid, NULL) == OBJ_BLOB) in cat_one_file()
171 return stream_blob(&blob_oid); in cat_one_file()
/dports/devel/git-gui/git-2.34.1/builtin/
H A Dcat-file.c158 struct object_id blob_oid; in cat_one_file() local
164 get_oid_hex(target, &blob_oid)) in cat_one_file()
168 oidcpy(&blob_oid, &oid); in cat_one_file()
170 if (oid_object_info(the_repository, &blob_oid, NULL) == OBJ_BLOB) in cat_one_file()
171 return stream_blob(&blob_oid); in cat_one_file()
/dports/devel/git-cvs/git-2.34.1/builtin/
H A Dcat-file.c158 struct object_id blob_oid; in cat_one_file() local
164 get_oid_hex(target, &blob_oid)) in cat_one_file()
168 oidcpy(&blob_oid, &oid); in cat_one_file()
170 if (oid_object_info(the_repository, &blob_oid, NULL) == OBJ_BLOB) in cat_one_file()
171 return stream_blob(&blob_oid); in cat_one_file()
/dports/devel/git-svn/git-2.34.1/builtin/
H A Dcat-file.c158 struct object_id blob_oid; in cat_one_file() local
164 get_oid_hex(target, &blob_oid)) in cat_one_file()
168 oidcpy(&blob_oid, &oid); in cat_one_file()
170 if (oid_object_info(the_repository, &blob_oid, NULL) == OBJ_BLOB) in cat_one_file()
171 return stream_blob(&blob_oid); in cat_one_file()
/dports/devel/cgit/cgit-1.2.3/git/builtin/
H A Dcat-file.c155 struct object_id blob_oid; in cat_one_file() local
161 get_oid_hex(target, &blob_oid)) in cat_one_file()
165 oidcpy(&blob_oid, &oid); in cat_one_file()
167 if (oid_object_info(the_repository, &blob_oid, NULL) == OBJ_BLOB) in cat_one_file()
168 return stream_blob(&blob_oid); in cat_one_file()

12