summaryrefslogtreecommitdiff
path: root/helperPatches.go
diff options
context:
space:
mode:
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 {