From e8a6490268a687c120eb06170a57656abbb5db71 Mon Sep 17 00:00:00 2001 From: rsteube Date: Tue, 18 Apr 2023 20:52:35 +0200 Subject: [PATCH] gh: browser - removed commit completion --- completers/gh_completer/cmd/browse.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/completers/gh_completer/cmd/browse.go b/completers/gh_completer/cmd/browse.go index 0257c8ae96..ff76e25b77 100644 --- a/completers/gh_completer/cmd/browse.go +++ b/completers/gh_completer/cmd/browse.go @@ -36,10 +36,7 @@ func init() { carapace.Gen(browseCmd).FlagCompletion(carapace.ActionMap{ "branch": action.ActionBranches(browseCmd), // TODO merge with tags - "commit": carapace.ActionCallback(func(c carapace.Context) carapace.Action { - return action.ActionBranchCommits(browseCmd, browseCmd.Flag("branch").Value.String()) - }), - "repo": action.ActionRepoOverride(browseCmd), + "repo": action.ActionRepoOverride(browseCmd), }) carapace.Gen(browseCmd).PositionalCompletion(