Skip to content

Commit bf4421f

Browse files
authored
Merge pull request #3075 from carapace-sh/git-fix-refdiffs
git: fix actionRefDiffs
2 parents d0cc10a + 04f4542 commit bf4421f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/actions/tools/git/diff.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ func actionRefDiffs(cached bool, refs ...string) carapace.Action {
188188
var action carapace.Action
189189
switch {
190190
case strings.HasPrefix(relativePath, "../"):
191-
action = carapace.ActionStyledValuesDescribed(relativePath, splitted[0])
191+
action = carapace.ActionValuesDescribed(relativePath, splitted[0])
192192
case strings.HasPrefix(c.Value, "."):
193193
action = carapace.ActionValuesDescribed("./"+relativePath, splitted[0])
194194
default:

0 commit comments

Comments
 (0)