summaryrefslogtreecommitdiff
path: root/helperPatches.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-07 22:49:23 -0500
committerJeff Carr <[email protected]>2025-09-07 22:49:23 -0500
commitb71471c61e09d895f2439f24b503db1bd891d57a (patch)
tree73f8f5dd9507a20e775c2cc1a5077c34e4697ebe /helperPatches.go
parentca3a70d6236dc45c7030405464a41f32ab98845a (diff)
more general work for patches
Diffstat (limited to 'helperPatches.go')
-rw-r--r--helperPatches.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/helperPatches.go b/helperPatches.go
index d6e07d7..19fdc62 100644
--- a/helperPatches.go
+++ b/helperPatches.go
@@ -326,7 +326,7 @@ func findApplied() *forgepb.Patches {
found := forgepb.NewPatches()
for patch := range pset.IterAll() {
- cmd := []string{"git", "merge-base", "--is-ancestor", patch.CommitHash, "devel"}
+ cmd := []string{"git", "merge-base", "--is-ancestor", patch.NewHash, "devel"}
repo := me.forge.Repos.FindByNamespace(patch.Namespace)
_, err := repo.RunStrict(cmd)
if err != nil {