Skip to content

Commit

Permalink
feat(git): clone hidden refs
Browse files Browse the repository at this point in the history
  • Loading branch information
rgmz authored and Richard Gomez committed Jun 20, 2024
1 parent d5b9157 commit ddc6a74
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/sources/git/git.go
Original file line number Diff line number Diff line change
Expand Up @@ -416,8 +416,7 @@ func executeClone(ctx context.Context, params cloneParams) (*git.Repository, err
}

gitArgs := []string{
"clone",
cloneURL.String(),
"clone", cloneURL.String(),
params.clonePath,
"-c",
"remote.origin.fetch=+refs/*:refs/remotes/origin/*",
Expand Down

0 comments on commit ddc6a74

Please sign in to comment.