summaryrefslogtreecommitdiff
path: root/windowPatches.go
diff options
context:
space:
mode:
Diffstat (limited to 'windowPatches.go')
-rw-r--r--windowPatches.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/windowPatches.go b/windowPatches.go
index f70ea63..ad42076 100644
--- a/windowPatches.go
+++ b/windowPatches.go
@@ -158,6 +158,16 @@ func (dwin *stdPatchTableWin) doPatchesTable(currentPatches *forgepb.Patches) {
dwin.TB.Custom(f)
}
+// used by the PB table
+func funcApplyPatch(p *forgepb.Patch) string {
+ rn := p.Namespace
+ if repo := me.forge.FindByGoPath(rn); repo == nil {
+ // log.Info("Could not figure out repo path", rn)
+ return ""
+ }
+ return "git am"
+}
+
// define what rows to have in the protobuf table
func AddPatchesPB(tbox *gui.Node, pb *forgepb.Patches) *forgepb.PatchesTable {
t := pb.NewTable("PatchesPB")