mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2025-01-06 01:27:24 +03:00
fixup
This commit is contained in:
parent
e3d43eb874
commit
5209ee05a2
@ -12,8 +12,8 @@ use git2::TreeWalkResult;
|
||||
use pretty_assertions::{assert_eq, assert_ne};
|
||||
|
||||
use crate::{
|
||||
gb_repository, git, keys, project_repository, reader, sessions,
|
||||
test_utils::{self, empty_bare_repository, Case, Suite},
|
||||
gb_repository, git, project_repository, reader, sessions,
|
||||
test_utils::{self, Case, Suite},
|
||||
};
|
||||
|
||||
use super::*;
|
||||
@ -28,9 +28,6 @@ fn set_test_target(
|
||||
.git_repository
|
||||
.remote("origin", remote_repo.path().to_str().unwrap())
|
||||
.expect("failed to add remote");
|
||||
remote
|
||||
.fetch(&["+refs/heads/*:refs/remotes/{}/*"], None)
|
||||
.expect("failed to fetch remote");
|
||||
remote.push(&["refs/heads/master:refs/heads/master"], None)?;
|
||||
|
||||
target::Writer::new(gb_repo)
|
||||
|
Loading…
Reference in New Issue
Block a user