mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-24 01:51:57 +03:00
fix cargo warnings
This commit is contained in:
parent
450b1aeee9
commit
d091a357be
@ -75,7 +75,7 @@ mod add {
|
||||
let main_worktree_dir = tmp.path().join("main");
|
||||
let worktree_dir = tmp.path().join("worktree");
|
||||
|
||||
let repo = git2::Repository::init(&main_worktree_dir).unwrap();
|
||||
let repo = git2::Repository::init(main_worktree_dir).unwrap();
|
||||
create_initial_commit(&repo);
|
||||
|
||||
let worktree = repo.worktree("feature", &worktree_dir, None).unwrap();
|
||||
|
Loading…
Reference in New Issue
Block a user