Rename GitRepository.path() to GitRepository.dot_git_dir() (#22026)

Release Notes:

- N/A
This commit is contained in:
Michael Sloan 2024-12-14 15:30:56 -07:00 committed by GitHub
parent 25970650a7
commit d459f010b6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 11 additions and 10 deletions

View file

@ -3118,7 +3118,7 @@ impl BackgroundScannerState {
let t0 = Instant::now();
let repository = fs.open_repo(&dot_git_abs_path)?;
let actual_repo_path = repository.path();
let actual_repo_path = repository.dot_git_dir();
let actual_dot_git_dir_abs_path = smol::block_on(find_git_dir(&actual_repo_path, fs))?;
watcher.add(&actual_repo_path).log_err()?;