upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/test_utils/src/git.rs
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2025-10-17 15:22:05 +0100
committerDanConwayDev <DanConwayDev@protonmail.com>2025-10-17 17:18:47 +0100
commit4a9dcc66ac7be69031a19f6ece0be4642e1f3057 (patch)
tree3871a84a488c38d44b87658554354e345ebfee0f /test_utils/src/git.rs
parentd35a007e92f57a55948a1b503d85f487bf771ac0 (diff)
chore: nix flake update
update nix dependancies including hardcoded nightly.rustfmt applied autofixes
Diffstat (limited to 'test_utils/src/git.rs')
-rw-r--r--test_utils/src/git.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test_utils/src/git.rs b/test_utils/src/git.rs
index 5942a54..ab21f38 100644
--- a/test_utils/src/git.rs
+++ b/test_utils/src/git.rs
@@ -216,7 +216,7 @@ impl GitTestRepo {
216 Ok(oid) 216 Ok(oid)
217 } 217 }
218 218
219 pub fn create_branch(&self, branch_name: &str) -> Result<Branch> { 219 pub fn create_branch(&'_ self, branch_name: &str) -> Result<Branch<'_>> {
220 self.git_repo 220 self.git_repo
221 .branch(branch_name, &self.git_repo.head()?.peel_to_commit()?, false) 221 .branch(branch_name, &self.git_repo.head()?.peel_to_commit()?, false)
222 .context("could not create branch") 222 .context("could not create branch")