fix: avoid spamming the differ on every vcs_content frame

This commit is contained in:
CJ van den Berg 2025-12-17 22:32:57 +01:00
parent 1190c99212
commit 3c9cf07f9d
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
2 changed files with 3 additions and 0 deletions

View file

@ -2605,5 +2605,6 @@ pub fn process_git_response(self: *Self, parent: tp.pid_ref, m: tp.message) (Out
} else if (try m.match(.{ tp.any, tp.extract(&context), "cat_file", tp.null_ })) {
const request: *VcsContentRequest = @ptrFromInt(context);
defer request.deinit();
parent.send(.{ "PRJ", "vcs_content", request.file_path, request.vcs_id, null }) catch {};
}
}