Skip to content

Commit

Permalink
git: diff - no-index filter
Browse files Browse the repository at this point in the history
  • Loading branch information
rsteube committed Jan 6, 2024
1 parent bb48e01 commit e1e1446
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion completers/git_completer/cmd/diff.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ func actionDiffArgs(cmd *cobra.Command) carapace.Action {
if cmd.Flag("no-index").Changed {
switch len(c.Args) {
case 0, 1:
return carapace.ActionFiles()
return carapace.ActionFiles().FilterArgs()
default:
return carapace.ActionValues()
}
Expand Down

0 comments on commit e1e1446

Please sign in to comment.