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 7bdb773f..9649d7b8 100644
--- a/core/builtins.zig
+++ b/core/builtins.zig
@@ -1086,6 +1086,12 @@ pub const Changes = struct {
pub const run = @import("jj.zig").changesWord;
};
+/// Pin on a file's pane the file's whole difference between each two of `points` (jj revisions, a blank between, two or more) as one change, however many changes lie between them, and show them in every view of it as `Changes` shows a change: a lane each, the lines it wrote and took away, its row `from..to N changes dates` after its last line; bare, as bare `Changes`.
+pub const Compare = struct {
+ pub const takes_arg = true;
+ pub const run = @import("jj.zig").compareWord;
+};
+
/// Count, for each declaration of a file's pane, the changes in `window` (jj) that touched it, and show it in this view: a heat lane after the line number and a strip by the scroll thumb, the line numbers' grey to the theme's red on a log scale; `window` a revset or a span of time (`3d`, `2w`, `6m`, `1y`); bare, shown here or not (none counted yet: the file's whole history).
pub const Churn = struct {
pub const takes_arg = true;