diff --git a/completers/git_completer/cmd/diff.go b/completers/git_completer/cmd/diff.go index a5819476bc..c5d26d5550 100644 --- a/completers/git_completer/cmd/diff.go +++ b/completers/git_completer/cmd/diff.go @@ -85,7 +85,7 @@ func init() { } if len(filtered) > 0 { // multipart for potentially large diffs - action = action.MultiParts("/").StyleF(style.ForPathExt) + action = action.MultiParts("/").StyleF(style.ForPathExt).Tag("changed files") } batch = append(batch, action) } diff --git a/pkg/actions/tools/git/diff.go b/pkg/actions/tools/git/diff.go index 4b5059f81d..137c75aff7 100644 --- a/pkg/actions/tools/git/diff.go +++ b/pkg/actions/tools/git/diff.go @@ -176,5 +176,5 @@ func actionRefDiffs(cached bool, refs ...string) carapace.Action { } return carapace.ActionValuesDescribed(vals...).StyleF(style.ForPathExt) }) - }) + }).Tag("changed files") }