style(format): reformat code with consistent line breaks and spacing
This commit is contained in:
@@ -114,7 +114,9 @@ impl GitBare {
|
||||
|
||||
// Verify the resolved path has no symlinks in its components
|
||||
// by checking that canonicalization is idempotent
|
||||
let double_canon = canonical.canonicalize().unwrap_or_else(|_| canonical.clone());
|
||||
let double_canon = canonical
|
||||
.canonicalize()
|
||||
.unwrap_or_else(|_| canonical.clone());
|
||||
if canonical != double_canon {
|
||||
return Err(GitError::InvalidArgument(
|
||||
"path resolved to different target (possible symlink race)".into(),
|
||||
|
||||
Reference in New Issue
Block a user