From 3b110bf86ac5c36d4f395c82a091984860fba0a3 Mon Sep 17 00:00:00 2001 From: gabrie30 Date: Sun, 22 Sep 2024 18:39:10 -0700 Subject: [PATCH] Update clone.go --- cmd/clone.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/clone.go b/cmd/clone.go index 2c1602e586..6551cb1742 100644 --- a/cmd/clone.go +++ b/cmd/clone.go @@ -862,7 +862,7 @@ func CloneAllRepos(git git.Gitter, cloneTargets []scm.Repo) { // Retry checkout errRetry := git.Checkout(repo) if errRetry != nil { - e := fmt.Sprintf("Could not checkout out %s, branch may not exist or may not have any contents, no changes made on: %s Error: %v", repo.CloneBranch, repo.URL, errRetry) + e := fmt.Sprintf("Could not checkout out %s, branch may not exist or may not have any contents/commits, no changes made on: %s Error: %v", repo.CloneBranch, repo.URL, errRetry) cloneErrors = append(cloneErrors, e) return } @@ -940,7 +940,7 @@ func CloneAllRepos(git git.Gitter, cloneTargets []scm.Repo) { if os.Getenv("GHORG_BRANCH") != "" { err := git.Checkout(repo) if err != nil { - e := fmt.Sprintf("Could not checkout out %s, branch may not exist or may not have any contents, no changes to: %s Error: %v", repo.CloneBranch, repo.URL, err) + e := fmt.Sprintf("Could not checkout out %s, branch may not exist or may not have any contents/commits, no changes to: %s Error: %v", repo.CloneBranch, repo.URL, err) cloneInfos = append(cloneInfos, e) return }