mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-11 21:13:02 +00:00
Store repo content path as absolute
Co-Authored-By: Mikayla Maki <mikayla@zed.dev>
This commit is contained in:
parent
9427bb7553
commit
8f4b3c3493
1 changed files with 1 additions and 1 deletions
|
@ -1561,7 +1561,7 @@ impl LocalSnapshot {
|
|||
|
||||
if parent_path.file_name() == Some(&DOT_GIT) {
|
||||
let abs_path = self.abs_path.join(&parent_path);
|
||||
let content_path: Arc<Path> = parent_path.parent().unwrap().into();
|
||||
let content_path: Arc<Path> = abs_path.parent().unwrap().into();
|
||||
if let Err(ix) = self
|
||||
.git_repositories
|
||||
.binary_search_by_key(&&content_path, |repo| &repo.content_path)
|
||||
|
|
Loading…
Reference in a new issue