Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
bierbaum committed Nov 10, 2022
1 parent b0d0f30 commit a4867bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
8 changes: 1 addition & 7 deletions focus/internals/src/lib/model/repo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -795,13 +795,7 @@ impl Repo {
app.clone(),
)
} else {
self.sync_one_shot(
commit_id,
targets,
outlining_tree,
snapshot,
app.clone(),
)
self.sync_one_shot(commit_id, targets, outlining_tree, snapshot, app.clone())
}?;

outline_patterns.extend(working_tree.default_working_tree_patterns()?);
Expand Down
7 changes: 2 additions & 5 deletions focus/operations/src/sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -224,11 +224,8 @@ pub fn run(request: &SyncRequest, app: Arc<App>) -> Result<SyncResult> {
request.sparse_repo_path().display()
)
})?;
let _snapshot_guard = git::snapshot::ReapplyGuard::new(
request.sparse_repo_path(),
snapshot.clone(),
app.clone(),
);
let _snapshot_guard =
git::snapshot::ReapplyGuard::new(request.sparse_repo_path(), snapshot.clone(), app.clone());

let selections = repo.selection_manager()?;
let selection = selections.computed_selection()?;
Expand Down

0 comments on commit a4867bc

Please sign in to comment.