fmt
This commit is contained in:
parent
2fd80dbd68
commit
967ec7c9d7
1 changed files with 1 additions and 5 deletions
|
|
@ -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")])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue