summaryrefslogtreecommitdiff
path: root/core/builtins.zig
diff options
context:
space:
mode:
Diffstat (limited to 'core/builtins.zig')
-rw-r--r--core/builtins.zig6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/builtins.zig b/core/builtins.zig
index 18b49a41..e059916a 100644
--- a/core/builtins.zig
+++ b/core/builtins.zig
@@ -1080,6 +1080,12 @@ pub const At = struct {
pub const run = @import("jj.zig").word;
};
+/// Pin the changes `revset` names (jj; bare, `@`) on a file's pane in this view: a lane each after the line number, a line one added whole green; bare again, unpinned.
+pub const Changes = struct {
+ pub const takes_arg = true;
+ pub const run = @import("jj.zig").changesWord;
+};
+
/// Stack a diff's hunks as a diff viewer shows them, each under its place and the declarations around it, in a +Diff; on a +Diff, show the diff itself as text. `Diff <file>` stacks that diff's, `Diff <revision>` git show's.
/// The diff viewer's one registration: its word and traits here, all else
/// its own (hunks.zig).