summaryrefslogtreecommitdiff
path: root/doClean.go
diff options
context:
space:
mode:
Diffstat (limited to 'doClean.go')
-rw-r--r--doClean.go4
1 files changed, 2 insertions, 2 deletions
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
}