aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/util/git.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-05-26 22:03:25 +0900
committernsfisis <nsfisis@gmail.com>2026-05-26 22:03:34 +0900
commitc5850d62beabef0a6bcc4cf6a179589c0ba8f405 (patch)
tree893e8903a8bd605da90fb5a460caba17f0789fea /crates/shirabe/src/util/git.rs
parentf411daceacad66e0bd774fda7d3c5ef8533cc55c (diff)
downloadphp-shirabe-c5850d62beabef0a6bcc4cf6a179589c0ba8f405.tar.gz
php-shirabe-c5850d62beabef0a6bcc4cf6a179589c0ba8f405.tar.zst
php-shirabe-c5850d62beabef0a6bcc4cf6a179589c0ba8f405.zip
feat(factory): construct PluginManager after Rc::new_cyclic
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/src/util/git.rs')
-rw-r--r--crates/shirabe/src/util/git.rs8
1 files changed, 5 insertions, 3 deletions
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<String> = if initial_clone {
cwd.map(|s| s.to_string())