#8 skip path if branch exists #12

Merged
vtolstov merged 90 commits from kgorbunov/pkgdash:master into master 2024-04-03 08:28:17 +03:00
Showing only changes of commit 289a8398bc - Show all commits

View File

@ -298,6 +298,9 @@ func Execute(ctx context.Context, gitSource source.SourceControl, mvs map[string
logger.Debugf(ctx, fmt.Sprintf("Close successful for %s", path)) logger.Debugf(ctx, fmt.Sprintf("Close successful for %s", path))
} }
} }
fmt.Println(fmt.Sprintf("for %s:\n%s", cfg.Source.Repository, js))
default:
fmt.Print(initMsg)
case "list": case "list":
for _, branch := range cfg.Branches { for _, branch := range cfg.Branches {
rMap, err := gitSource.RequestList(ctx, branch) rMap, err := gitSource.RequestList(ctx, branch)