summaryrefslogtreecommitdiff
path: root/core/hunks.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-19 11:42:48 -0300
committerGabriel Schneider <[email protected]>2026-11-19 11:42:48 -0300
commit71d8744b41dec56d835e30f531b96fede5d610a1 (patch)
tree31e2a06fdcfd467d12454cde8be5a477765701b5 /core/hunks.zig
parenteae5736ad923731135dd35b3783c90a3358bd0fa (diff)
parent4569aefd55d04f434f2e2ed5e6e4a511a414cdc7 (diff)
downloadpardes-71d8744b41dec56d835e30f531b96fede5d610a1.tar.gz
pardes-71d8744b41dec56d835e30f531b96fede5d610a1.zip
integration: the one client loop that the soak runs, with the tape as the handle a step is given: pardes-runners-b (10b: runtime/client.zig run by the terminal's client, the window's and the soak; a client's clipboard and links its own frontend's; an input sent before it is applied) and pardes-handle-1 (the handle's steps 0 to 2: p.tape, the directory listing and the file system read through the tape they are handed), merged without a conflict; gates in the coordinator's ledger
Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'core/hunks.zig')
-rw-r--r--core/hunks.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/hunks.zig b/core/hunks.zig
index d3a8f5a7..a7d8e6cb 100644
--- a/core/hunks.zig
+++ b/core/hunks.zig
@@ -634,7 +634,7 @@ pub fn word(c: pardes.builtins.Ctx) void {
while (true) {
var buf: [4096]u8 = undefined;
const dot_git = std.fmt.bufPrint(&buf, "{s}/.git", .{dir}) catch return declined(p, c.id, "Diff: not in a git work tree");
- if (pardes.exec.kindOf(dot_git) != null) break;
+ if (pardes.exec.kindOf(p.tape, dot_git) != null) break;
dir = std.Io.Dir.path.dirname(dir) orelse return declined(p, c.id, "Diff: not in a git work tree");
}
// ponytail: a hex word that names no commit leaves git's error in a command pane, not a search; check the object first if that bites.