Skip to content

Commit cb11759

Browse files
Fix: assign repo from CloneContext (was discarded after merge)
1 parent ea25253 commit cb11759

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git/git.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ func CloneRepo(ctx context.Context, logf func(string, ...any), opts CloneRepoOpt
119119
return false, nil
120120
}
121121

122-
_, err = git.CloneContext(ctx, gitStorage, fs, &git.CloneOptions{
122+
repo, err = git.CloneContext(ctx, gitStorage, fs, &git.CloneOptions{
123123
URL: parsed.Cleaned,
124124
Auth: opts.RepoAuth,
125125
Progress: opts.Progress,

0 commit comments

Comments
 (0)