From 5d2daf75c049caf277d92d64549c3b9bb2da20a9 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 30 Jan 2025 01:47:14 -0600 Subject: rename all these damn things from the past --- doClean.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doClean.go') diff --git a/doClean.go b/doClean.go index 7c7145e..15e3ae5 100644 --- a/doClean.go +++ b/doClean.go @@ -100,7 +100,7 @@ func checkhashes(repo *gitpb.Repo, hashes []string, refpath string) ([]string, e if !repo.Exists(refpath) { return hashes, nil } - r, err := repo.RunStrictNew([]string{"cat", refpath}) + r, err := repo.RunStrict([]string{"cat", refpath}) if err != nil { return hashes, err } @@ -535,7 +535,7 @@ func isBranchSubsetOfTrunk(repo *gitpb.Repo, branch string, trunk string) error // if zero, that means branch1 is entirely contained in branch2 and can be safely deleted func countGitDiffLog(repo *gitpb.Repo, branch1, branch2 string) int { cmd := repo.ConstructGitDiffLog(branch1, branch2) - r, err := repo.RunStrictNew(cmd) + r, err := repo.RunStrict(cmd) if err != nil { return -1 } -- cgit v1.2.3