Home
last modified time | relevance | path

Searched refs:repository_head (Results 1 – 25 of 31) sorted by relevance

12

/dports/devel/R-cran-git2r/git2r/tests/
H A Dpull.R63 branch_remote_url(branch_get_upstream(repository_head(repo_2))),
67 branch_set_upstream(repository_head(repo_2), NULL)
68 stopifnot(is.null(branch_get_upstream(repository_head(repo_2))))
70 tools::assertError(branch_set_upstream(repository_head(repo_2), NULL))
83 branch_set_upstream(repository_head(repo_2), "origin/master")
85 branch_remote_url(branch_get_upstream(repository_head(repo_2))),
H A Dpush.R106 branch_set_upstream(repository_head(repo), NULL)
108 stopifnot(is.null(branch_get_upstream(repository_head(repo))))
110 stopifnot(!is.null(branch_get_upstream(repository_head(repo))))
H A Dbranch.R42 stopifnot(identical(branches(repo)[[1]], repository_head(repo)))
43 stopifnot(identical(branches(repo)$master, repository_head(repo)))
56 b <- repository_head(repo)
H A Dcheckout.R77 stopifnot(identical(repository_head(repo)$name, "master"))
86 stopifnot(identical(repository_head(repo), commit_1))
H A Dcheckout-named-branch.R82 stopifnot(identical(repository_head(repo_2)$name, "master"))
H A Dclone_branch.R76 stopifnot(identical(repository_head(repo_2)$name, "dev"))
H A Drepository.R56 stopifnot(identical(repository_head(repo), NULL))
/dports/devel/R-cran-git2r/git2r/man/
H A Dbranch_set_upstream.Rd45 branch_get_upstream(repository_head(repo))
46 branch_set_upstream(repository_head(repo), NULL)
47 branch_get_upstream(repository_head(repo))
50 branch_set_upstream(repository_head(repo), "origin/master")
51 branch_get_upstream(repository_head(repo))
H A Drepository_head.Rd3 \name{repository_head}
4 \alias{repository_head}
7 repository_head(repo = ".")
34 repository_head(repo)
H A Dpush.Rd68 branch_get_upstream(repository_head(repo))
69 branch_set_upstream(repository_head(repo), NULL)
70 branch_get_upstream(repository_head(repo))
72 branch_get_upstream(repository_head(repo))
H A Drepository.Rd75 repository_head(repo)
78 is_head(repository_head(repo))
81 is_local(repository_head(repo))
H A Dis_merge.Rd60 parents(lookup(repo, branch_target(repository_head(repo))))
63 is_merge(lookup(repo, branch_target(repository_head(repo))))
H A Dbranch_target.Rd33 branch_target(repository_head(repo))
H A Dbranch_rename.Rd38 branch_rename(repository_head(repo), "dev")
H A Dhead.git_repository.Rd35 repository_head(repo)
H A Dbranch_remote_url.Rd42 branch_remote_url(branch_get_upstream(repository_head(repo)))
H A Dbranch_get_upstream.Rd43 branch_get_upstream(repository_head(repo))
H A Dlookup_commit.Rd48 lookup_commit(repository_head(repo))
/dports/devel/R-cran-git2r/git2r/R/
H A Drepository.R330 repository_head <- function(repo = ".") { function
622 if (any(is_empty(x), is.null(repository_head(x)))) {
629 h <- repository_head(x)
632 repository_head(x)$name,
635 h <- repository_head(x)
645 h <- lookup(x, branch_target(repository_head(x)))
H A Dpush.R111 b <- repository_head(object)
129 b <- repository_head(object)
H A Dpull.R96 current_branch <- repository_head(repo)
H A Drefspec.R55 repository_head(repo)$name,
H A Dcheckout.R220 commit <- lookup(object, branch_target(repository_head(object)))
H A Dcommit.R324 sha <- sha(repository_head(repo))
/dports/devel/libegit2/libegit2-0ef8b13/src/
H A Degit-repository.h13 EGIT_DEFUN(repository_head, emacs_value _repo);

12