Skip to content

Commit 1a6c81f

Browse files
fix lint, regenerate archive
1 parent 222532a commit 1a6c81f

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

gix/src/open/repository.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ impl ThreadSafeRepository {
308308
worktree_dir = gix_path::realpath(&wt_path).ok();
309309
// restore the relative path if possible after resolving the absolute path
310310
if wt_path.is_relative() {
311-
if let Some(rel_path) = worktree_dir.as_deref().and_then(|p| p.strip_prefix(&current_dir).ok()) {
311+
if let Some(rel_path) = worktree_dir.as_deref().and_then(|p| p.strip_prefix(current_dir).ok()) {
312312
worktree_dir = Some(rel_path.to_path_buf());
313313
}
314314
}
-224 KB
Binary file not shown.

0 commit comments

Comments
 (0)