summaryrefslogtreecommitdiff
path: root/doClean.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-06 21:58:55 -0500
committerJeff Carr <[email protected]>2025-10-06 21:58:55 -0500
commitabf2951624b39f7633a938a0c8dc681fac1257aa (patch)
tree2413fcde026568d2bb348630e775548ecad910f5 /doClean.go
parenta45fd1beed715914b36baf6c9dfa157801b75d6d (diff)
patchId wasn't been checked correctly
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 884a07b..82602dc 100644
--- a/doClean.go
+++ b/doClean.go
@@ -338,7 +338,7 @@ func checkPatchIds(repo *gitpb.Repo, b1 string, b2 string) error {
return err
} else {
for _, hash := range stats.Stdout {
- patchId, err := repo.FindPatchId(hash)
+ patchId, err := repo.FindPatchIdByHash(hash)
if err != nil {
baderr = err
safe = false
@@ -352,7 +352,7 @@ func checkPatchIds(repo *gitpb.Repo, b1 string, b2 string) error {
return err
} else {
for _, hash := range stats.Stdout {
- patchId, err := repo.FindPatchId(hash)
+ patchId, err := repo.FindPatchIdByHash(hash)
if err != nil {
baderr = err
safe = false