diff options
Diffstat (limited to 'docs/typ/guide.typ')
| -rw-r--r-- | docs/typ/guide.typ | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/typ/guide.typ b/docs/typ/guide.typ index 127b22a9..7699ee52 100644 --- a/docs/typ/guide.typ +++ b/docs/typ/guide.typ @@ -283,6 +283,16 @@ or one above it. #word("Diff") on a `+Diff` shows the diff itself as text (a paged one's `+Pager` is closed once stacked), and on the text stacks it again. += A file at a revision <revision> + +`path@rev` names a file as jj has it at a revision: `a.zig@main`, +`a.zig@@-`, and `a.zig@main:120` at a line. A #word("Look") at one, +anywhere, opens it in a pane of that name, read-only and coloured as the +file. #word("At") with a revision does the same from a file's pane; in a +revision's pane it turns that pane to another revision, and bare it goes +back to the file. What jj refuses (a revision that is not there, a path +the revision has not) is said in jj's words. jj reads the working copy as +it last saw it (`@`): pardes never snapshots it. #word("Syntax") (#key("SPC t h")) turns a text's syntax colours off in this view, and on again. |
