From 3b7d30f492a03ac526ab08c189eac84695ad507c Mon Sep 17 00:00:00 2001 From: Bryson Steck Date: Wed, 5 Mar 2025 17:20:41 -0700 Subject: [PATCH] this should work every time now fr --- src/refractr.rs | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/src/refractr.rs b/src/refractr.rs index 3c1ef19..7799c15 100644 --- a/src/refractr.rs +++ b/src/refractr.rs @@ -1,3 +1,4 @@ +use git2::build::CheckoutBuilder; use git2::{BranchType, Cred, PushOptions, RemoteCallbacks, Repository}; use sha2::{Sha256, Digest}; @@ -69,19 +70,21 @@ fn fast_forward(refractr: &Refractr, repo_dir: &str, branches: &Option (refractr: &Refractr, repo: &'a Repository, cfg: &ConfigFile) -> Vec {