Skip to content

Commit

Permalink
fixed Clone function to return after gitCloneFallback
Browse files Browse the repository at this point in the history
  • Loading branch information
ittacco committed Nov 26, 2024
1 parent 09bdbe1 commit 716f442
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/internal/git/repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ func Clone(ctx context.Context, rootPath, address string, shallow bool) (*Reposi
if err != nil {
return nil, err
}
return r, nil
}

// If we're cloning the whole repo, we need to also fetch the other branches besides the default.
Expand Down

0 comments on commit 716f442

Please sign in to comment.