ooops
This commit is contained in:
parent
86306aa887
commit
5637809f5c
15
main.go
15
main.go
|
@ -43,15 +43,6 @@ func getVersion(repo *gitpb.Repo, name string) string {
|
|||
return strings.TrimSpace(output)
|
||||
}
|
||||
|
||||
func reloadCheck(repo *gitpb.Repo) error {
|
||||
if err := repo.ReloadCheck(); err != nil {
|
||||
log.Info("changed:", repo.FullPath)
|
||||
configSave = true
|
||||
return err
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func main() {
|
||||
me = new(mainType)
|
||||
prep.Bash(ARGNAME, argv.DoAutoComplete) // this line should be: prep.Bash(argv)
|
||||
|
@ -60,12 +51,6 @@ func main() {
|
|||
|
||||
me.forge = forgepb.Init()
|
||||
|
||||
if argv.Force {
|
||||
me.forge.TestScan()
|
||||
doNormal()
|
||||
okExit("")
|
||||
}
|
||||
|
||||
me.forge.ScanRepoDir() // looks for new dirs, checks existing repos for changes
|
||||
|
||||
// initialize patches
|
||||
|
|
Loading…
Reference in New Issue