Skip to content

Commit

Permalink
gert::git_fetch() is slow
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed Mar 31, 2024
1 parent 43aba3b commit f858cd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/auto.R
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ merge_branch <- function(other_branch) {
check_release <- function() {
# Check that this and the main branch are in sync
# FIXME add the conflict resolution
gert::git_fetch(get_remote_name())
system(paste0("git fetch ", get_remote_name()))
ab_this <- gert::git_ahead_behind()
if (ab_this[["behind"]] != 0) {
cli::cli_abort(c(
Expand Down

0 comments on commit f858cd5

Please sign in to comment.