From 454c955d60e6f313bf8da6822337cace9bb6fc16 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Fri, 16 Feb 2024 20:43:14 +0000 Subject: refactor: improve error when patch ahead of master minor improvement to error message --- src/git.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/git.rs') diff --git a/src/git.rs b/src/git.rs index 51b27fa..13d56f3 100644 --- a/src/git.rs +++ b/src/git.rs @@ -372,7 +372,7 @@ impl RepoActions for Repo { if let Ok(last_patch) = patches_to_apply.last().context("no patches") { last_patch } else { - self.checkout(branch_name).context("latest commit in pr doesnt connect with an existing commit. Try a git pull first.")?; + self.checkout(branch_name).context("latest commit in pr doesnt connect with an existing commit. Try a git pull on master first.")?; return Ok(vec![]); }, "parent-commit", -- cgit v1.2.3