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