diff options
Diffstat (limited to 'doClean.go')
| -rw-r--r-- | doClean.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 } |
