Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix repository.go #2996

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fixed Clone function to return after gitCloneFallback
Signed-off-by: ittacco <lorenzo.tacconi1967@gmail.com>
  • Loading branch information
ittacco committed Nov 26, 2024
commit 3770dce609165d00e8e5b8d78c9be8671bcf0792
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