mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-23 01:22:12 +03:00
remove unused parameter
This commit is contained in:
parent
f9bc13685a
commit
488f7862f5
@ -437,14 +437,7 @@ impl App {
|
||||
pub fn push_virtual_branch(&self, project_id: &str, branch_id: &str) -> Result<()> {
|
||||
let gb_repository = self.gb_repository(project_id)?;
|
||||
let project = self.gb_project(project_id)?;
|
||||
let project_repository = project_repository::Repository::open(&project)
|
||||
.context("failed to open project repository")?;
|
||||
virtual_branches::push(
|
||||
&project.path,
|
||||
&gb_repository,
|
||||
&project_repository,
|
||||
branch_id,
|
||||
)?;
|
||||
virtual_branches::push(&project.path, &gb_repository, branch_id)?;
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
@ -1474,7 +1474,6 @@ use std::process::Command;
|
||||
pub fn push(
|
||||
project_path: &str,
|
||||
gb_repository: &gb_repository::Repository,
|
||||
project_repository: &project_repository::Repository,
|
||||
branch_id: &str,
|
||||
) -> Result<()> {
|
||||
let current_session = gb_repository
|
||||
|
Loading…
Reference in New Issue
Block a user