Skip to content

Commit

Permalink
Revert "Cleanup exports"
Browse files Browse the repository at this point in the history
This reverts commit 03a58a4.
  • Loading branch information
stewid committed Oct 19, 2024
1 parent 03a58a4 commit 49c9737
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 1 deletion.
3 changes: 3 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ S3method(summary,git_tag)
S3method(summary,git_tree)
export(add)
export(ahead_behind)
export(as.data.frame)
export(blame)
export(blob_create)
export(branch_create)
Expand All @@ -90,6 +91,7 @@ export(cred_token)
export(cred_user_pass)
export(default_signature)
export(descendant_of)
export(diff)
export(discover_repository)
export(fetch)
export(fetch_heads)
Expand Down Expand Up @@ -119,6 +121,7 @@ export(libgit2_version)
export(lookup)
export(lookup_commit)
export(ls_tree)
export(merge)
export(merge_base)
export(note_create)
export(note_default_ref)
Expand Down
3 changes: 3 additions & 0 deletions R/diff.R
Original file line number Diff line number Diff line change
Expand Up @@ -300,3 +300,6 @@ diff.git_tree <- function(x,
as.integer(context_lines), as.integer(interhunk_lines),
old_prefix, new_prefix, id_abbrev, path, max_size)
}

##' @export
base::diff
3 changes: 3 additions & 0 deletions R/merge.R
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ merge.character <- function(x = ".", y = NULL, commit_on_success = TRUE,
merge.git_repository(x, y, commit_on_success, merger, fail)
}

##' @export
base::merge

##' @export
format.git_merge_result <- function(x, ...) {
if (isTRUE(x$up_to_date))
Expand Down
3 changes: 3 additions & 0 deletions R/tree.R
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ as.data.frame.git_tree <- function(x, ...) {
stringsAsFactors = FALSE)
}

##' @export
base::as.data.frame

##' Coerce entries in a git_tree to a list of entry objects
##'
##' @param x The tree \code{object}
Expand Down
7 changes: 6 additions & 1 deletion man/reexports.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 49c9737

Please sign in to comment.