diff options
| author | Jeff Carr <[email protected]> | 2025-09-04 18:32:01 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-04 18:32:01 -0500 |
| commit | 78e883a1066904b89658cd48cba4facb8dd18eac (patch) | |
| tree | bb96848018e90204cda3f87fa5803843158fca03 /windowPatches.go | |
| parent | 19ce7eef563c3b72e0bf3947bb130e5e96b0ebbd (diff) | |
more work on patches
Diffstat (limited to 'windowPatches.go')
| -rw-r--r-- | windowPatches.go | 10 |
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") |
