This commit is contained in:
müde 2026-05-14 23:22:00 +02:00
parent 2fd80dbd68
commit 967ec7c9d7

View file

@ -173,11 +173,7 @@ pub async fn setup_applied(applied_dir: &Path, name: &str, hyperhive_flake: &str
/// Apply a manager-proposed commit: read `agent.nix` at `commit_ref` from the
/// proposed repo, write it into the applied repo, commit. Hive-c0re alone
/// advances `applied`'s `main`; the manager only sees `proposed/`.
pub async fn apply_commit(
applied_dir: &Path,
proposed_dir: &Path,
commit_ref: &str,
) -> Result<()> {
pub async fn apply_commit(applied_dir: &Path, proposed_dir: &Path, commit_ref: &str) -> Result<()> {
let out = Command::new("git")
.current_dir(proposed_dir)
.args(["show", &format!("{commit_ref}:agent.nix")])