git: Add uncommit action (#37031)
Closes #36767 Release Notes: - Add uncommit action for git
This commit is contained in:
@@ -1738,7 +1738,7 @@ impl GitPanel {
|
||||
self.pending_commit = Some(task);
|
||||
}
|
||||
|
||||
fn uncommit(&mut self, window: &mut Window, cx: &mut Context<Self>) {
|
||||
pub(crate) fn uncommit(&mut self, window: &mut Window, cx: &mut Context<Self>) {
|
||||
let Some(repo) = self.active_repository.clone() else {
|
||||
return;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user