From c5850d62beabef0a6bcc4cf6a179589c0ba8f405 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Tue, 26 May 2026 22:03:25 +0900 Subject: feat(factory): construct PluginManager after Rc::new_cyclic Co-Authored-By: Claude Opus 4.7 (1M context) --- crates/shirabe/src/util/git.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'crates/shirabe/src/util/git.rs') diff --git a/crates/shirabe/src/util/git.rs b/crates/shirabe/src/util/git.rs index 3be37f6..1f6fd0a 100644 --- a/crates/shirabe/src/util/git.rs +++ b/crates/shirabe/src/util/git.rs @@ -148,9 +148,11 @@ impl Git { let mut last_command: PhpMixed = PhpMixed::String(String::new()); // Ensure we are allowed to use this URL by config - self.config - .borrow_mut() - .prohibit_url_by_config(url, Some(&*self.io.borrow()), &IndexMap::new())?; + self.config.borrow_mut().prohibit_url_by_config( + url, + Some(&*self.io.borrow()), + &IndexMap::new(), + )?; let orig_cwd: Option = if initial_clone { cwd.map(|s| s.to_string()) -- cgit v1.3.1