summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-01-05 01:18:47 -0600
committerJeff Carr <[email protected]>2025-01-05 01:18:47 -0600
commit18ee541f89be2e9f9a91c54873da87885e8ffdf5 (patch)
tree3abf86866276cf4ebe1775ab7c0f10d129cf7524 /main.go
parentc25a7ea736aa4848de7eb6a5efe6124a87c39deb (diff)
'forge dirty' will find and list only dirty repos
Diffstat (limited to 'main.go')
-rw-r--r--main.go10
1 files changed, 6 insertions, 4 deletions
diff --git a/main.go b/main.go
index 25e801e..6ac2a80 100644
--- a/main.go
+++ b/main.go
@@ -109,15 +109,17 @@ func main() {
// now, do something to all of them (or just print out a table of them)
var done bool = false
if argv.Dirty != nil {
- argv.Dirty.findRepos()
+ findAll() // select all the repos
doCheckDirty()
+ me.found = new(gitpb.Repos)
+ findDirty()
+ doCobol()
okExit("")
done = true
}
if argv.Scan {
- findRepos(argv.List)
- doScan()
+ me.forge.ScanGoSrc()
done = true
}
@@ -128,7 +130,7 @@ func main() {
}
if argv.GitReset {
- findRepos(argv.List)
+ findAll() // select all the repos
doGitReset()
done = true
}