Skip to content

Commit

Permalink
Remove unnused helper
Browse files Browse the repository at this point in the history
  • Loading branch information
r-ash committed Feb 10, 2021
1 parent 8f9230b commit 0c3d19c
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions R/git.R
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,3 @@ git_pull <- function(root = NULL) {
orderly_log("git", "pull")
git_run("pull", root = root, check = TRUE)
}

git_fix_ref <- function(ref, root) {
## ref can be either a branch name or a git hash, git_commit_id will
## give us full ID if ref is valid, if not throws an error.
gert::git_commit_id(ref, root)
invisible(TRUE)
}

0 comments on commit 0c3d19c

Please sign in to comment.