refactor(git): add output option to git functions

This commit is contained in:
Tom Neuber 2024-07-27 19:16:55 +02:00
parent 62b316b5ef
commit d46a9f0883
Signed by: tom
GPG key ID: F17EFE4272D89FF6
2 changed files with 21 additions and 0 deletions

View file

@ -42,6 +42,7 @@ func backup(ctx context.Context, c *config.Config) error {
c.GitRepo,
git.WithBasicAuth(c.GitUser, c.GitPass),
git.WithBranch(c.GitBranch),
git.WithOutputWriter(c.Output),
)
if err := project.Clone(ctx); err != nil {