summaryrefslogtreecommitdiff
path: root/applyPatch.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-02 16:17:48 -0600
committerJeff Carr <[email protected]>2025-02-02 16:17:48 -0600
commit6aafc842ae1aef39e8676ed8da2f8e79c5e48d09 (patch)
tree2eb8743259dd6887360e2dee6db7471660dcd662 /applyPatch.go
parentf8e13c6cd883e582310b5a05f1dee983c78ac102 (diff)
playing with the patch windows
Diffstat (limited to 'applyPatch.go')
-rw-r--r--applyPatch.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/applyPatch.go b/applyPatch.go
index e7920a3..9d70ff4 100644
--- a/applyPatch.go
+++ b/applyPatch.go
@@ -14,6 +14,7 @@ import (
"go.wit.com/log"
)
+/*
// saves the patches in ~/.config/forge/currentpatches/
func savePatchset(pset *forgepb.Patchset) error {
log.Info("savePatches() NAME", pset.Name)
@@ -43,6 +44,7 @@ func savePatchset(pset *forgepb.Patchset) error {
}
return nil
}
+*/
// re-run git CheckDirty() on everything
func IsAnythingDirty() bool {
@@ -71,7 +73,7 @@ func countCurrentPatches(repo *gitpb.Repo) int {
return len(result.Stdout)
}
-func applyPatchset(pset *forgepb.Patchset) error {
+func applyPatchsetOLD(pset *forgepb.Patchset) error {
var everythingworked bool = true
tmpdir, err := os.MkdirTemp("", "forge")
if err != nil {