Skip to content

Commit

Permalink
test_git_push: make tests work on newer libgit2-s
Browse files Browse the repository at this point in the history
This should make it unnecessary to disable a test
in #4080.
  • Loading branch information
ilyagr committed Jul 30, 2024
1 parent 8eb1dca commit 91f3d5e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cli/tests/test_git_push.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ fn set_up() -> (TestEnvironment, PathBuf) {
"git",
"clone",
"--config-toml=git.auto-local-branch=true",
origin_git_repo_path.to_str().unwrap(),
// Git and libgit2 > 1.8 do not allow backslashes in remote names
&origin_git_repo_path.to_str().unwrap().replace("\\", "/"),
"local",
],
);
Expand Down

0 comments on commit 91f3d5e

Please sign in to comment.