Skip to content

Commit

Permalink
jj: ActionRevFiles - fix action
Browse files Browse the repository at this point in the history
  • Loading branch information
rsteube committed Nov 23, 2024
1 parent eac5e68 commit 5329684
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 5329684

Please sign in to comment.