The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
chore: files changed src/openhuman/agent/git_attribution/git_attribution_tests.rs
Steven Enamakele52cd10d77ee
diff --git a/src/openhuman/agent/git_attribution/git_attribution_tests.rs b/src/openhuman/agent/git_attribution/git_attribution_tests.rsindex 9be2480f4d..67381fa438 100644--- a/src/openhuman/agent/git_attribution/git_attribution_tests.rs+++ b/src/openhuman/agent/git_attribution/git_attribution_tests.rs@@ -149,10 +149,11 @@ fn a_repository_pager_does_not_run_under_the_shell_git_environment() {// Baseline: without the hardening the repository's pager really does run,// so the assertion below is discriminating rather than vacuously true.+ // `--paginate` is required — git skips the pager entirely when stdout is+ // not a terminal, which it never is under `cargo test`.let bare = Command::new("git")- .args(["log", "-1"])+ .args(["--paginate", "log", "-1"]).current_dir(&repo)- .env("GIT_PAGER", pager.to_str().unwrap()).output().unwrap();assert!(bare.status.success());@@ -165,7 +166,7 @@ fn a_repository_pager_does_not_run_under_the_shell_git_environment() {// Now with the environment the shell tool hands every command.let hook_env = super::hook::test_hook_env(None);let mut cmd = Command::new("git");- cmd.args(["log", "-1"]).current_dir(&repo);+ cmd.args(["--paginate", "log", "-1"]).current_dir(&repo);for (key, value) in &hook_env {cmd.env(key, value);}