summaryrefslogtreecommitdiff
path: root/goSrcScan.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-17 00:00:27 -0600
committerJeff Carr <[email protected]>2024-12-17 00:00:27 -0600
commit075fce61e541eec6ccdc02c9de3bee14e9e486cf (patch)
treea715cc0cc960c3d91d0be96e3006c6e8daf5597e /goSrcScan.go
parenta9286af8fd3f912aa357e3ebe67af09f42b8d534 (diff)
start cleaning up git interactions
Diffstat (limited to 'goSrcScan.go')
-rw-r--r--goSrcScan.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/goSrcScan.go b/goSrcScan.go
index a50dbb2..f43aed1 100644
--- a/goSrcScan.go
+++ b/goSrcScan.go
@@ -68,6 +68,9 @@ func gitDirectoriesNew(srcDir string) ([]string, error) {
case "go.work.last":
default:
// todo: figure out a way to do padding for init()
+ if trip == false {
+ log.Info("WARNING:")
+ }
log.Info("WARNING: you have an untracked file outside of any .git repository:", path)
trip = true
}
@@ -141,7 +144,7 @@ func (f *Forge) rillScanDirs(gopaths []string) (int, error) {
// Read users from the API.
// Concurrency = 20
dirs := rill.Map(ids, 20, func(id string) (*gitpb.Repo, error) {
- return f.NewGoPathRepo(id)
+ return f.NewGoRepo(id, "")
})
var counter int