Skip to content

Commit

Permalink
Remove white space
Browse files Browse the repository at this point in the history
  • Loading branch information
Angelk90 committed Feb 21, 2025
1 parent c4c3659 commit 6fb3ae1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/git_ui/src/branch_picker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ impl PickerDelegate for BranchListDelegate {
BranchEntry::History(branch) => Some(branch.as_str()),
BranchEntry::NewBranch { name } => Some(name.as_str()),
};

let commit_details = repo.as_ref().and_then(|repo_entity| {
let repo = repo_entity.read(cx);
let git_repo = match &repo.git_repo {
Expand All @@ -364,7 +364,7 @@ impl PickerDelegate for BranchListDelegate {
};
let branch_name = branch_name?;
Self::get_last_commit_info(git_repo, branch_name).ok()
});
});

Some(
ListItem::new(SharedString::from(format!("vcs-menu-{ix}")))
Expand Down

0 comments on commit 6fb3ae1

Please sign in to comment.