From 3d26af876f8d54d26026a31b67d5072ea02710d8 Mon Sep 17 00:00:00 2001 From: Theodore Ehrenborg Date: Thu, 3 Oct 2024 20:04:40 +0100 Subject: [PATCH] docs: update stale references to singular file() revset --- docs/revsets.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/revsets.md b/docs/revsets.md index 10362c587e..efd2c2d98d 100644 --- a/docs/revsets.md +++ b/docs/revsets.md @@ -283,11 +283,11 @@ given [string pattern](#string-patterns). Paths are relative to the directory `jj` was invoked from. A directory name will match all files in that directory and its subdirectories. - For example, `file(foo)` will match files `foo`, `foo/bar`, `foo/bar/baz`. + For example, `files(foo)` will match files `foo`, `foo/bar`, `foo/bar/baz`. It will *not* match `foobar` or `bar/foo`. Some file patterns might need quoting because the `expression` must also be - parsable as a revset. For example, `.` has to be quoted in `file(".")`. + parsable as a revset. For example, `.` has to be quoted in `files(".")`. * `diff_contains(text[, files])`: Commits containing diffs matching the given `text` pattern line by line.