Skip to content

Commit

Permalink
Merge pull request #2540 from carapace-sh/go-modulesearch-branch
Browse files Browse the repository at this point in the history
go: ActionModuleSearch - include branches
  • Loading branch information
rsteube authored Sep 28, 2024
2 parents 20917b4 + c5addbd commit 7a2b050
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/actions/tools/golang/search.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func ActionModuleSearch() carapace.Action {
return carapace.ActionValues()
case 1:
return carapace.Batch(
git.ActionLsRemoteRefs(git.LsRemoteRefOption{Url: "https://" + c.Parts[0], Tags: true}),
git.ActionLsRemoteRefs(git.LsRemoteRefOption{Url: "https://" + c.Parts[0], Branches: true, Tags: true}),
carapace.ActionValues("latest"),
).ToA()
default:
Expand Down

0 comments on commit 7a2b050

Please sign in to comment.