summaryrefslogtreecommitdiff
path: root/core/builtins.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-22 10:29:02 -0300
committerGabriel Schneider <[email protected]>2026-11-22 10:29:02 -0300
commit6544f73a6b50e5ba68564beea7784593bb54348e (patch)
tree4180d5b74cc4c02208b6122618e5b39609b27fc6 /core/builtins.zig
parent58180ae7574b5050331797f0ead1a1cec753b2ed (diff)
parent06d61f097346704452cccd3181da87bb93649bd8 (diff)
downloadpardes-6544f73a6b50e5ba68564beea7784593bb54348e.tar.gz
pardes-6544f73a6b50e5ba68564beea7784593bb54348e.zip
integration: the source view's changes to their last slice on the installed tree: main (`stpnsymm`: pardes-merge55, installed 2026-11-22) and pardes-layers-6 (`rtzmwzsk` on `owsluptw`, on pardes-layers-5: `Churn [window]`: for each declaration the count of the changes in the window that touched it, a cell after the line number and a strip by the scroll thumb from grey to red on a log scale, jj and the parse on the worker; the chords `SPC t c` and `SPC t u`; the manual's chapter "Changes on the source view" and the cheatsheet's rows); no conflict; core-test 915/1079 (164 skipped), shell-test 1121/1124; its gate: .scratch/sketch/reorg/merge56, the numbers in PARDES.md (2026-11-22)
Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
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 7485af81..e6d22c17 100644
--- a/core/builtins.zig
+++ b/core/builtins.zig
@@ -1086,6 +1086,12 @@ pub const Changes = struct {
pub const run = @import("jj.zig").changesWord;
};
+/// 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;
+ pub const run = @import("jj.zig").churnWord;
+};
+
/// 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).