Skip to content

Commit

Permalink
Merge pull request #2604 from carapace-sh/jj-fix-revfiles
Browse files Browse the repository at this point in the history
jj: ActionRevFiles - fix action
  • Loading branch information
rsteube authored Nov 23, 2024
2 parents eac5e68 + 5329684 commit a062d05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/actions/tools/jj/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ func ActionRevFiles(rev string) carapace.Action {
if rev == "" {
rev = "@"
}
return carapace.ActionExecCommand("jj", "files", "--revision", rev)(func(output []byte) carapace.Action {
return carapace.ActionExecCommand("jj", "file", "list", "--revision", rev)(func(output []byte) carapace.Action {
lines := strings.Split(string(output), "\n")
return carapace.ActionValues(lines[:len(lines)-1]...).MultiParts("/").StyleF(style.ForPathExt)
})
Expand Down

0 comments on commit a062d05

Please sign in to comment.