jj-file-list
lists files in a Jujutsu revision
TLDR
List all files in the working copy
$ jj file list
List files in a specific revision$ jj file list -r [revision]
List files under a path prefix$ jj file list [path/to/directory]
List files with a custom template$ jj file list -T "[template]"
SYNOPSIS
jj file list [options] [filesets...]
DESCRIPTION
jj file list prints the files in a revision. With no arguments it lists every file in the working-copy commit; pass filesets to restrict the listing to matching prefixes.This is the usual way to enumerate versioned paths (Git's `git ls-files`). Combine it with other tools, for example `rg --no-require-git` over the listed paths, when you want a working-tree search that ignores untracked files.
PARAMETERS
FILESETS
Only list files matching these prefixes. Default: all files in the revision.-r, --revision REVSET
Revision to list (default: working-copy commit @).-T, --template TEMPLATE
Render each file entry with a custom template. Keywords are the 0-argument methods of the TreeEntry type. Defaults to the templates.file_list setting.
INSTALL
sudo pacman -S jujutsu
sudo apk add jujutsu
sudo zypper install jujutsu
brew install jujutsu
nix profile install nixpkgs#jujutsu
CAVEATS
Subcommand of jj. Template syntax is Jujutsu-specific; see `jj help -k templates`.
SEE ALSO
jj-file(1), jj-file-show(1), jj-file-search(1), git-ls-files(1), jj(1)
