Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specifically handle offline case in pr_init() #2063

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

hadley
Copy link
Member

@hadley hadley commented Sep 20, 2024

I realised that we're checking whether or not the host is online further down, so we might as well use that a little earlier to give a more informative message.

I realised that we're checking whether or not the host is online further down, so we might as well use that a little earlier to give a more informative message.
@@ -213,10 +224,6 @@ pr_init <- function(branch) {
ui_bullets(c("v" = "Pulling changes from {.val {remref}}."))
git_pull(remref = remref, verbose = FALSE)
}
} else {
ui_bullets(c(
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Already warned that we can't do this above

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant