Home
last modified time | relevance | path

Searched refs:GIT_HEAD_FILE (Results 1 – 25 of 400) sorted by relevance

12345678910>>...16

/dports/devel/libgit2/libgit2-1.3.0/tests/refs/reflog/
H A Dmessages.c37 cl_reflog_check_entry(g_repo, GIT_HEAD_FILE, 4, in test_refs_reflog_messages__setting_head_updates_reflog()
41 cl_reflog_check_entry(g_repo, GIT_HEAD_FILE, 3, in test_refs_reflog_messages__setting_head_updates_reflog()
45 cl_reflog_check_entry(g_repo, GIT_HEAD_FILE, 2, in test_refs_reflog_messages__setting_head_updates_reflog()
49 cl_reflog_check_entry(g_repo, GIT_HEAD_FILE, 1, in test_refs_reflog_messages__setting_head_updates_reflog()
53 cl_reflog_check_entry(g_repo, GIT_HEAD_FILE, 0, in test_refs_reflog_messages__setting_head_updates_reflog()
61 cl_reflog_check_entry(g_repo, GIT_HEAD_FILE, 0, in test_refs_reflog_messages__setting_head_updates_reflog()
92 cl_reflog_check_entry(g_repo, GIT_HEAD_FILE, 0, in test_refs_reflog_messages__detaching_writes_reflog()
99 cl_reflog_check_entry(g_repo, GIT_HEAD_FILE, 0, in test_refs_reflog_messages__detaching_writes_reflog()
114 cl_reflog_check_entry(g_repo, GIT_HEAD_FILE, 0, in test_refs_reflog_messages__orphan_branch_does_not_count()
121 cl_reflog_check_entry(g_repo, GIT_HEAD_FILE, 0, in test_refs_reflog_messages__orphan_branch_does_not_count()
[all …]
/dports/math/z3/z3-z3-4.8.13/cmake/
H A Dgit_utils.cmake33 set(GIT_HEAD_FILE "${GIT_WORKTREE_DIR}/HEAD") variable
39 … if (EXISTS "${Z3_SOURCE_DIR}/${GIT_HEAD_FILE}" AND EXISTS "${Z3_SOURCE_DIR}/${GIT_WORKTREE_DIR}")
41 set(GIT_HEAD_FILE "${Z3_SOURCE_DIR}/${GIT_HEAD_FILE}") variable
60 set(GIT_HEAD_FILE "${GIT_DOT_FILE}/HEAD") variable
65 if (NOT EXISTS "${GIT_HEAD_FILE}")
66 message(AUTHOR_WARNING "Git head file \"${GIT_HEAD_FILE}\" cannot be found")
72 set(GIT_FILE_DEPS "${GIT_HEAD_FILE}")
75 file(READ "${GIT_HEAD_FILE}" GIT_HEAD_DATA LIMIT 128)
/dports/devel/libgit2/libgit2-1.3.0/tests/refs/
H A Dupdate.c21 cl_git_pass(git_reference_lookup(&head, g_repo, GIT_HEAD_FILE)); in test_refs_update__updating_the_target_of_a_symref_with_an_invalid_name_returns_EINVALIDSPEC()
25 …cl_assert_equal_i(GIT_EINVALIDSPEC, git_reference_symbolic_create(&head, g_repo, GIT_HEAD_FILE, "r… in test_refs_update__updating_the_target_of_a_symref_with_an_invalid_name_returns_EINVALIDSPEC()
H A Dread.c73 cl_git_pass(git_reference_lookup(&reference, g_repo, GIT_HEAD_FILE)); in test_refs_read__symbolic()
76 cl_assert_equal_s(reference->name, GIT_HEAD_FILE); in test_refs_read__symbolic()
131 cl_git_pass(git_reference_lookup(&reference, g_repo, GIT_HEAD_FILE)); in test_refs_read__head_then_master()
152 cl_git_pass(git_reference_lookup(&reference, g_repo, GIT_HEAD_FILE)); in test_refs_read__master_then_head()
/dports/math/py-z3-solver/z3-z3-4.8.10/cmake/
H A Dgit_utils.cmake33 set(GIT_HEAD_FILE "${GIT_WORKTREE_DIR}/HEAD")
41 set(GIT_HEAD_FILE "${Z3_SOURCE_DIR}/${GIT_HEAD_FILE}")
60 set(GIT_HEAD_FILE "${GIT_DOT_FILE}/HEAD")
65 if (NOT EXISTS "${GIT_HEAD_FILE}")
66 message(AUTHOR_WARNING "Git head file \"${GIT_HEAD_FILE}\" cannot be found")
72 set(GIT_FILE_DEPS "${GIT_HEAD_FILE}")
75 file(READ "${GIT_HEAD_FILE}" GIT_HEAD_DATA LIMIT 128)
/dports/devel/libgit2/libgit2-1.3.0/tests/repo/
H A Drepo_helpers.c10 cl_git_pass(git_reference_symbolic_create(&head, repo, GIT_HEAD_FILE, target, 1, NULL)); in make_head_unborn()
18 cl_git_pass(git_buf_joinpath(&head_path, git_repository_path(repo), GIT_HEAD_FILE)); in delete_head()
/dports/devel/libgit2/libgit2-1.3.0/tests/refs/branches/
H A Ddelete.c36 cl_git_pass(git_reference_lookup(&head, repo, GIT_HEAD_FILE)); in test_refs_branches_delete__can_not_delete_a_branch_pointed_at_by_HEAD()
50 cl_git_pass(git_reference_lookup(&head, repo, GIT_HEAD_FILE)); in test_refs_branches_delete__can_delete_a_branch_even_if_HEAD_is_missing()
74 cl_git_pass(git_reference_lookup(&head, repo, GIT_HEAD_FILE)); in test_refs_branches_delete__can_delete_a_branch_pointed_at_by_detached_HEAD()
H A Dishead.c87 …cl_git_pass(git_reference_symbolic_create(&head, repo, GIT_HEAD_FILE, "refs/heads/super", 1, NULL)… in test_refs_branches_ishead__only_direct_references_are_considered()
/dports/devel/git-absorb/git-absorb-0.6.6/cargo-crates/libgit2-sys-0.12.13+1.0.1/libgit2/src/
H A Drepository.c230 if (git_path_contains_file(repository_path, GIT_HEAD_FILE) == false) in is_valid_repository_path()
1407 if ((error = git_buf_joinpath(&ref_path, git_dir, GIT_HEAD_FILE)) < 0 || in git_repository_create_head()
2166 if (git_reference_lookup(&ref, repo, GIT_HEAD_FILE) < 0) in git_repository_head_detached()
2210 if ((error = git_reference_lookup(&head, repo, GIT_HEAD_FILE)) < 0) in git_repository_head()
2234 if ((error = get_worktree_file_path(&path, repo, name, GIT_HEAD_FILE)) < 0 || in git_repository_head_for_worktree()
2269 if ((error = git_buf_joinpath(&path, repo->commondir, GIT_HEAD_FILE)) < 0 || in git_repository_foreach_head()
2340 if (git_reference_lookup(&head, repo, GIT_HEAD_FILE) < 0) in git_repository_is_empty()
2685 if ((error = git_reference_lookup(&current, repo, GIT_HEAD_FILE)) < 0) in detach()
2721 if ((error = git_reference_lookup(&current, repo, GIT_HEAD_FILE)) < 0) in git_repository_set_head()
2741 error = git_reference_symbolic_create(&new_head, repo, GIT_HEAD_FILE, in git_repository_set_head()
[all …]
/dports/sysutils/vector/vector-0.10.0/cargo-crates/libgit2-sys-0.12.7+1.0.0/libgit2/src/
H A Drepository.c230 if (git_path_contains_file(repository_path, GIT_HEAD_FILE) == false) in is_valid_repository_path()
1407 if ((error = git_buf_joinpath(&ref_path, git_dir, GIT_HEAD_FILE)) < 0 || in git_repository_create_head()
2166 if (git_reference_lookup(&ref, repo, GIT_HEAD_FILE) < 0) in git_repository_head_detached()
2210 if ((error = git_reference_lookup(&head, repo, GIT_HEAD_FILE)) < 0) in git_repository_head()
2234 if ((error = get_worktree_file_path(&path, repo, name, GIT_HEAD_FILE)) < 0 || in git_repository_head_for_worktree()
2269 if ((error = git_buf_joinpath(&path, repo->commondir, GIT_HEAD_FILE)) < 0 || in git_repository_foreach_head()
2340 if (git_reference_lookup(&head, repo, GIT_HEAD_FILE) < 0) in git_repository_is_empty()
2685 if ((error = git_reference_lookup(&current, repo, GIT_HEAD_FILE)) < 0) in detach()
2721 if ((error = git_reference_lookup(&current, repo, GIT_HEAD_FILE)) < 0) in git_repository_set_head()
2741 error = git_reference_symbolic_create(&new_head, repo, GIT_HEAD_FILE, in git_repository_set_head()
[all …]
/dports/devel/gbump/gbump-1.0.1/cargo-crates/libgit2-sys-0.9.1/libgit2/src/
H A Drepository.c218 if (git_path_contains_file(repository_path, GIT_HEAD_FILE) == false) in valid_repository_path()
1365 if ((error = git_buf_joinpath(&ref_path, git_dir, GIT_HEAD_FILE)) < 0 || in git_repository_create_head()
2116 if (git_reference_lookup(&ref, repo, GIT_HEAD_FILE) < 0) in git_repository_head_detached()
2160 if ((error = git_reference_lookup(&head, repo, GIT_HEAD_FILE)) < 0) in git_repository_head()
2184 if ((error = get_worktree_file_path(&path, repo, name, GIT_HEAD_FILE)) < 0 || in git_repository_head_for_worktree()
2219 if ((error = git_buf_joinpath(&path, repo->commondir, GIT_HEAD_FILE)) < 0 || in git_repository_foreach_head()
2290 if (git_reference_lookup(&head, repo, GIT_HEAD_FILE) < 0) in git_repository_is_empty()
2638 if ((error = git_reference_lookup(&current, repo, GIT_HEAD_FILE)) < 0) in detach()
2674 if ((error = git_reference_lookup(&current, repo, GIT_HEAD_FILE)) < 0) in git_repository_set_head()
2694 error = git_reference_symbolic_create(&new_head, repo, GIT_HEAD_FILE, in git_repository_set_head()
[all …]
/dports/devel/gitui/gitui-0.10.1/cargo-crates/libgit2-sys-0.12.12+1.0.1/libgit2/src/
H A Drepository.c230 if (git_path_contains_file(repository_path, GIT_HEAD_FILE) == false) in is_valid_repository_path()
1407 if ((error = git_buf_joinpath(&ref_path, git_dir, GIT_HEAD_FILE)) < 0 || in git_repository_create_head()
2166 if (git_reference_lookup(&ref, repo, GIT_HEAD_FILE) < 0) in git_repository_head_detached()
2210 if ((error = git_reference_lookup(&head, repo, GIT_HEAD_FILE)) < 0) in git_repository_head()
2234 if ((error = get_worktree_file_path(&path, repo, name, GIT_HEAD_FILE)) < 0 || in git_repository_head_for_worktree()
2269 if ((error = git_buf_joinpath(&path, repo->commondir, GIT_HEAD_FILE)) < 0 || in git_repository_foreach_head()
2340 if (git_reference_lookup(&head, repo, GIT_HEAD_FILE) < 0) in git_repository_is_empty()
2685 if ((error = git_reference_lookup(&current, repo, GIT_HEAD_FILE)) < 0) in detach()
2721 if ((error = git_reference_lookup(&current, repo, GIT_HEAD_FILE)) < 0) in git_repository_set_head()
2741 error = git_reference_symbolic_create(&new_head, repo, GIT_HEAD_FILE, in git_repository_set_head()
[all …]
/dports/devel/interactive_rebase_tool/git-interactive-rebase-tool-1.2.1/cargo-crates/libgit2-sys-0.7.11/libgit2/src/
H A Drepository.c217 if (git_path_contains_file(repository_path, GIT_HEAD_FILE) == false) in valid_repository_path()
1359 if (git_buf_joinpath(&ref_path, git_dir, GIT_HEAD_FILE) < 0 || in git_repository_create_head()
2084 if (git_reference_lookup(&ref, repo, GIT_HEAD_FILE) < 0) in git_repository_head_detached()
2126 if ((error = git_reference_lookup(&head, repo, GIT_HEAD_FILE)) < 0) in git_repository_head()
2150 if ((error = get_worktree_file_path(&path, repo, name, GIT_HEAD_FILE)) < 0 || in git_repository_head_for_worktree()
2181 if ((error = git_buf_joinpath(&path, repo->commondir, GIT_HEAD_FILE)) < 0 || in git_repository_foreach_head()
2249 if (git_reference_lookup(&head, repo, GIT_HEAD_FILE) < 0) in git_repository_is_empty()
2589 if ((error = git_reference_lookup(&current, repo, GIT_HEAD_FILE)) < 0) in detach()
2625 if ((error = git_reference_lookup(&current, repo, GIT_HEAD_FILE)) < 0) in git_repository_set_head()
2645 error = git_reference_symbolic_create(&new_head, repo, GIT_HEAD_FILE, in git_repository_set_head()
[all …]
/dports/devel/R-cran-git2r/git2r/src/libgit2/src/
H A Drepository.c217 if (git_path_contains_file(repository_path, GIT_HEAD_FILE) == false) in valid_repository_path()
1365 if (git_buf_joinpath(&ref_path, git_dir, GIT_HEAD_FILE) < 0 || in git_repository_create_head()
2125 if (git_reference_lookup(&ref, repo, GIT_HEAD_FILE) < 0) in git_repository_head_detached()
2169 if ((error = git_reference_lookup(&head, repo, GIT_HEAD_FILE)) < 0) in git_repository_head()
2193 if ((error = get_worktree_file_path(&path, repo, name, GIT_HEAD_FILE)) < 0 || in git_repository_head_for_worktree()
2224 if ((error = git_buf_joinpath(&path, repo->commondir, GIT_HEAD_FILE)) < 0 || in git_repository_foreach_head()
2292 if (git_reference_lookup(&head, repo, GIT_HEAD_FILE) < 0) in git_repository_is_empty()
2632 if ((error = git_reference_lookup(&current, repo, GIT_HEAD_FILE)) < 0) in detach()
2668 if ((error = git_reference_lookup(&current, repo, GIT_HEAD_FILE)) < 0) in git_repository_set_head()
2688 error = git_reference_symbolic_create(&new_head, repo, GIT_HEAD_FILE, in git_repository_set_head()
[all …]
/dports/misc/broot/broot-1.7.0/cargo-crates/libgit2-sys-0.12.21+1.1.0/libgit2/src/
H A Drepository.c262 if (git_path_contains_file(repository_path, GIT_HEAD_FILE) == false) in is_valid_repository_path()
1460 if ((error = git_buf_joinpath(&ref_path, git_dir, GIT_HEAD_FILE)) < 0 || in git_repository_create_head()
2121 if ((error = git_buf_joinpath(&head_path, repo_dir, GIT_HEAD_FILE)) < 0) in repo_init_head()
2246 if (git_reference_lookup(&ref, repo, GIT_HEAD_FILE) < 0) in git_repository_head_detached()
2285 if ((error = git_reference_lookup(&head, repo, GIT_HEAD_FILE)) < 0) in git_repository_head()
2314 (error = git_reference_lookup(&head, worktree_repo, GIT_HEAD_FILE)) < 0) in git_repository_head_for_worktree()
2456 if ((result = git_reference_lookup(&head, repo, GIT_HEAD_FILE)) < 0 || in git_repository_is_empty()
2824 if ((error = git_reference_lookup(&current, repo, GIT_HEAD_FILE)) < 0) in detach()
2861 if ((error = git_reference_lookup(&current, repo, GIT_HEAD_FILE)) < 0) in git_repository_set_head()
2881 error = git_reference_symbolic_create(&new_head, repo, GIT_HEAD_FILE, in git_repository_set_head()
[all …]
/dports/devel/sentry-cli/sentry-cli-1.71.0/cargo-crates/libgit2-sys-0.12.23+1.2.0/libgit2/src/
H A Drepository.c262 if (git_path_contains_file(repository_path, GIT_HEAD_FILE) == false) in is_valid_repository_path()
1456 if ((error = git_buf_joinpath(&ref_path, git_dir, GIT_HEAD_FILE)) < 0 || in git_repository_create_head()
2117 if ((error = git_buf_joinpath(&head_path, repo_dir, GIT_HEAD_FILE)) < 0) in repo_init_head()
2242 if (git_reference_lookup(&ref, repo, GIT_HEAD_FILE) < 0) in git_repository_head_detached()
2281 if ((error = git_reference_lookup(&head, repo, GIT_HEAD_FILE)) < 0) in git_repository_head()
2310 (error = git_reference_lookup(&head, worktree_repo, GIT_HEAD_FILE)) < 0) in git_repository_head_for_worktree()
2458 if ((result = git_reference_lookup(&head, repo, GIT_HEAD_FILE)) < 0 || in git_repository_is_empty()
2826 if ((error = git_reference_lookup(&current, repo, GIT_HEAD_FILE)) < 0) in detach()
2863 if ((error = git_reference_lookup(&current, repo, GIT_HEAD_FILE)) < 0) in git_repository_set_head()
2883 error = git_reference_symbolic_create(&new_head, repo, GIT_HEAD_FILE, in git_repository_set_head()
[all …]
/dports/security/cargo-audit/rustsec-cargo-audit-v0.15.2/cargo-audit/cargo-crates/libgit2-sys-0.12.23+1.2.0/libgit2/src/
H A Drepository.c262 if (git_path_contains_file(repository_path, GIT_HEAD_FILE) == false) in is_valid_repository_path()
1456 if ((error = git_buf_joinpath(&ref_path, git_dir, GIT_HEAD_FILE)) < 0 || in git_repository_create_head()
2117 if ((error = git_buf_joinpath(&head_path, repo_dir, GIT_HEAD_FILE)) < 0) in repo_init_head()
2242 if (git_reference_lookup(&ref, repo, GIT_HEAD_FILE) < 0) in git_repository_head_detached()
2281 if ((error = git_reference_lookup(&head, repo, GIT_HEAD_FILE)) < 0) in git_repository_head()
2310 (error = git_reference_lookup(&head, worktree_repo, GIT_HEAD_FILE)) < 0) in git_repository_head_for_worktree()
2458 if ((result = git_reference_lookup(&head, repo, GIT_HEAD_FILE)) < 0 || in git_repository_is_empty()
2826 if ((error = git_reference_lookup(&current, repo, GIT_HEAD_FILE)) < 0) in detach()
2863 if ((error = git_reference_lookup(&current, repo, GIT_HEAD_FILE)) < 0) in git_repository_set_head()
2883 error = git_reference_symbolic_create(&new_head, repo, GIT_HEAD_FILE, in git_repository_set_head()
[all …]
/dports/devel/tokei/tokei-12.1.2/cargo-crates/libgit2-sys-0.12.17+1.1.0/libgit2/src/
H A Drepository.c230 if (git_path_contains_file(repository_path, GIT_HEAD_FILE) == false) in is_valid_repository_path()
1421 if ((error = git_buf_joinpath(&ref_path, git_dir, GIT_HEAD_FILE)) < 0 || in git_repository_create_head()
2082 if ((error = git_buf_joinpath(&head_path, repo_dir, GIT_HEAD_FILE)) < 0) in repo_init_head()
2206 if (git_reference_lookup(&ref, repo, GIT_HEAD_FILE) < 0) in git_repository_head_detached()
2245 if ((error = git_reference_lookup(&head, repo, GIT_HEAD_FILE)) < 0) in git_repository_head()
2274 (error = git_reference_lookup(&head, worktree_repo, GIT_HEAD_FILE)) < 0) in git_repository_head_for_worktree()
2417 if ((result = git_reference_lookup(&head, repo, GIT_HEAD_FILE)) < 0 || in git_repository_is_empty()
2769 if ((error = git_reference_lookup(&current, repo, GIT_HEAD_FILE)) < 0) in detach()
2806 if ((error = git_reference_lookup(&current, repo, GIT_HEAD_FILE)) < 0) in git_repository_set_head()
2826 error = git_reference_symbolic_create(&new_head, repo, GIT_HEAD_FILE, in git_repository_set_head()
[all …]
/dports/security/cargo-audit/rustsec-cargo-audit-v0.15.2/cargo-audit/cargo-crates/libgit2-sys-0.12.19+1.1.0/libgit2/src/
H A Drepository.c230 if (git_path_contains_file(repository_path, GIT_HEAD_FILE) == false) in is_valid_repository_path()
1421 if ((error = git_buf_joinpath(&ref_path, git_dir, GIT_HEAD_FILE)) < 0 || in git_repository_create_head()
2082 if ((error = git_buf_joinpath(&head_path, repo_dir, GIT_HEAD_FILE)) < 0) in repo_init_head()
2206 if (git_reference_lookup(&ref, repo, GIT_HEAD_FILE) < 0) in git_repository_head_detached()
2245 if ((error = git_reference_lookup(&head, repo, GIT_HEAD_FILE)) < 0) in git_repository_head()
2274 (error = git_reference_lookup(&head, worktree_repo, GIT_HEAD_FILE)) < 0) in git_repository_head_for_worktree()
2417 if ((result = git_reference_lookup(&head, repo, GIT_HEAD_FILE)) < 0 || in git_repository_is_empty()
2769 if ((error = git_reference_lookup(&current, repo, GIT_HEAD_FILE)) < 0) in detach()
2806 if ((error = git_reference_lookup(&current, repo, GIT_HEAD_FILE)) < 0) in git_repository_set_head()
2826 error = git_reference_symbolic_create(&new_head, repo, GIT_HEAD_FILE, in git_repository_set_head()
[all …]
/dports/devel/cargo-generate/cargo-generate-0.9.0/cargo-crates/libgit2-sys-0.12.22+1.1.0/libgit2/src/
H A Drepository.c262 if (git_path_contains_file(repository_path, GIT_HEAD_FILE) == false) in is_valid_repository_path()
1460 if ((error = git_buf_joinpath(&ref_path, git_dir, GIT_HEAD_FILE)) < 0 || in git_repository_create_head()
2121 if ((error = git_buf_joinpath(&head_path, repo_dir, GIT_HEAD_FILE)) < 0) in repo_init_head()
2246 if (git_reference_lookup(&ref, repo, GIT_HEAD_FILE) < 0) in git_repository_head_detached()
2285 if ((error = git_reference_lookup(&head, repo, GIT_HEAD_FILE)) < 0) in git_repository_head()
2314 (error = git_reference_lookup(&head, worktree_repo, GIT_HEAD_FILE)) < 0) in git_repository_head_for_worktree()
2456 if ((result = git_reference_lookup(&head, repo, GIT_HEAD_FILE)) < 0 || in git_repository_is_empty()
2824 if ((error = git_reference_lookup(&current, repo, GIT_HEAD_FILE)) < 0) in detach()
2861 if ((error = git_reference_lookup(&current, repo, GIT_HEAD_FILE)) < 0) in git_repository_set_head()
2881 error = git_reference_symbolic_create(&new_head, repo, GIT_HEAD_FILE, in git_repository_set_head()
[all …]
/dports/sysutils/onefetch/onefetch-2.10.2/cargo-crates/libgit2-sys-0.12.21+1.1.0/libgit2/src/
H A Drepository.c262 if (git_path_contains_file(repository_path, GIT_HEAD_FILE) == false) in is_valid_repository_path()
1460 if ((error = git_buf_joinpath(&ref_path, git_dir, GIT_HEAD_FILE)) < 0 || in git_repository_create_head()
2121 if ((error = git_buf_joinpath(&head_path, repo_dir, GIT_HEAD_FILE)) < 0) in repo_init_head()
2246 if (git_reference_lookup(&ref, repo, GIT_HEAD_FILE) < 0) in git_repository_head_detached()
2285 if ((error = git_reference_lookup(&head, repo, GIT_HEAD_FILE)) < 0) in git_repository_head()
2314 (error = git_reference_lookup(&head, worktree_repo, GIT_HEAD_FILE)) < 0) in git_repository_head_for_worktree()
2456 if ((result = git_reference_lookup(&head, repo, GIT_HEAD_FILE)) < 0 || in git_repository_is_empty()
2824 if ((error = git_reference_lookup(&current, repo, GIT_HEAD_FILE)) < 0) in detach()
2861 if ((error = git_reference_lookup(&current, repo, GIT_HEAD_FILE)) < 0) in git_repository_set_head()
2881 error = git_reference_symbolic_create(&new_head, repo, GIT_HEAD_FILE, in git_repository_set_head()
[all …]
/dports/sysutils/exa/exa-0.10.1/cargo-crates/libgit2-sys-0.12.18+1.1.0/libgit2/src/
H A Drepository.c230 if (git_path_contains_file(repository_path, GIT_HEAD_FILE) == false) in is_valid_repository_path()
1421 if ((error = git_buf_joinpath(&ref_path, git_dir, GIT_HEAD_FILE)) < 0 || in git_repository_create_head()
2082 if ((error = git_buf_joinpath(&head_path, repo_dir, GIT_HEAD_FILE)) < 0) in repo_init_head()
2206 if (git_reference_lookup(&ref, repo, GIT_HEAD_FILE) < 0) in git_repository_head_detached()
2245 if ((error = git_reference_lookup(&head, repo, GIT_HEAD_FILE)) < 0) in git_repository_head()
2274 (error = git_reference_lookup(&head, worktree_repo, GIT_HEAD_FILE)) < 0) in git_repository_head_for_worktree()
2417 if ((result = git_reference_lookup(&head, repo, GIT_HEAD_FILE)) < 0 || in git_repository_is_empty()
2769 if ((error = git_reference_lookup(&current, repo, GIT_HEAD_FILE)) < 0) in detach()
2806 if ((error = git_reference_lookup(&current, repo, GIT_HEAD_FILE)) < 0) in git_repository_set_head()
2826 error = git_reference_symbolic_create(&new_head, repo, GIT_HEAD_FILE, in git_repository_set_head()
[all …]
/dports/textproc/bat/bat-0.18.3/cargo-crates/libgit2-sys-0.12.21+1.1.0/libgit2/src/
H A Drepository.c262 if (git_path_contains_file(repository_path, GIT_HEAD_FILE) == false) in is_valid_repository_path()
1460 if ((error = git_buf_joinpath(&ref_path, git_dir, GIT_HEAD_FILE)) < 0 || in git_repository_create_head()
2121 if ((error = git_buf_joinpath(&head_path, repo_dir, GIT_HEAD_FILE)) < 0) in repo_init_head()
2246 if (git_reference_lookup(&ref, repo, GIT_HEAD_FILE) < 0) in git_repository_head_detached()
2285 if ((error = git_reference_lookup(&head, repo, GIT_HEAD_FILE)) < 0) in git_repository_head()
2314 (error = git_reference_lookup(&head, worktree_repo, GIT_HEAD_FILE)) < 0) in git_repository_head_for_worktree()
2456 if ((result = git_reference_lookup(&head, repo, GIT_HEAD_FILE)) < 0 || in git_repository_is_empty()
2824 if ((error = git_reference_lookup(&current, repo, GIT_HEAD_FILE)) < 0) in detach()
2861 if ((error = git_reference_lookup(&current, repo, GIT_HEAD_FILE)) < 0) in git_repository_set_head()
2881 error = git_reference_symbolic_create(&new_head, repo, GIT_HEAD_FILE, in git_repository_set_head()
[all …]
/dports/devel/cargo-c/cargo-c-0.9.6+cargo-0.58/cargo-crates/libgit2-sys-0.12.26+1.3.0/libgit2/src/
H A Drepository.c262 if (git_path_contains_file(repository_path, GIT_HEAD_FILE) == false) in is_valid_repository_path()
1565 if ((error = git_buf_joinpath(&ref_path, git_dir, GIT_HEAD_FILE)) < 0 || in git_repository_create_head()
2226 if ((error = git_buf_joinpath(&head_path, repo_dir, GIT_HEAD_FILE)) < 0) in repo_init_head()
2351 if (git_reference_lookup(&ref, repo, GIT_HEAD_FILE) < 0) in git_repository_head_detached()
2390 if ((error = git_reference_lookup(&head, repo, GIT_HEAD_FILE)) < 0) in git_repository_head()
2419 (error = git_reference_lookup(&head, worktree_repo, GIT_HEAD_FILE)) < 0) in git_repository_head_for_worktree()
2567 if ((result = git_reference_lookup(&head, repo, GIT_HEAD_FILE)) < 0 || in git_repository_is_empty()
2937 if ((error = git_reference_lookup(&current, repo, GIT_HEAD_FILE)) < 0) in detach()
2974 if ((error = git_reference_lookup(&current, repo, GIT_HEAD_FILE)) < 0) in git_repository_set_head()
2994 error = git_reference_symbolic_create(&new_head, repo, GIT_HEAD_FILE, in git_repository_set_head()
[all …]
/dports/devel/git-delta/delta-0.9.2/cargo-crates/libgit2-sys-0.12.24+1.3.0/libgit2/src/
H A Drepository.c262 if (git_path_contains_file(repository_path, GIT_HEAD_FILE) == false) in is_valid_repository_path()
1565 if ((error = git_buf_joinpath(&ref_path, git_dir, GIT_HEAD_FILE)) < 0 || in git_repository_create_head()
2226 if ((error = git_buf_joinpath(&head_path, repo_dir, GIT_HEAD_FILE)) < 0) in repo_init_head()
2351 if (git_reference_lookup(&ref, repo, GIT_HEAD_FILE) < 0) in git_repository_head_detached()
2390 if ((error = git_reference_lookup(&head, repo, GIT_HEAD_FILE)) < 0) in git_repository_head()
2419 (error = git_reference_lookup(&head, worktree_repo, GIT_HEAD_FILE)) < 0) in git_repository_head_for_worktree()
2567 if ((result = git_reference_lookup(&head, repo, GIT_HEAD_FILE)) < 0 || in git_repository_is_empty()
2937 if ((error = git_reference_lookup(&current, repo, GIT_HEAD_FILE)) < 0) in detach()
2974 if ((error = git_reference_lookup(&current, repo, GIT_HEAD_FILE)) < 0) in git_repository_set_head()
2994 error = git_reference_symbolic_create(&new_head, repo, GIT_HEAD_FILE, in git_repository_set_head()
[all …]

12345678910>>...16