summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-18 17:58:40 -0600
committerJeff Carr <[email protected]>2024-12-18 17:58:40 -0600
commite14fde1546f8803b6eb04070a91c5ca5d2beb88f (patch)
tree714a0cb623913974afd1f84ebee446ea0e6b63aa
parenta8d32f0e1624567d93ecb8d6ed0fbc37277303e2 (diff)
use os.Mkdir()v0.22.36
-rw-r--r--getPatches.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/getPatches.go b/getPatches.go
index 771b582..f5875ca 100644
--- a/getPatches.go
+++ b/getPatches.go
@@ -1,11 +1,11 @@
package repolist
import (
+ "os"
"path/filepath"
"strings"
"go.wit.com/lib/gui/repostatus"
- "go.wit.com/lib/gui/shell"
"go.wit.com/log"
)
@@ -98,7 +98,7 @@ func (r *RepoList) MakePatchset(setdir string) bool {
}
repodir := filepath.Join(setdir, repo.GetGoPath())
- shell.Mkdir(repodir)
+ os.MkdirAll(repodir, os.ModeDir)
// git format-patch branch1..branch2
gitcmd := []string{"git", "format-patch", "-o", repodir, develn + ".." + usern}
log.Info("Run:", gitcmd)