Skip to content

Commit

Permalink
Improve reproducer.
Browse files Browse the repository at this point in the history
  • Loading branch information
GunnarFarneback committed Oct 25, 2021
1 parent 697e547 commit e460411
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/register.jl
Original file line number Diff line number Diff line change
Expand Up @@ -187,10 +187,10 @@
# end

dir1 = mktempdir()
git1 = LocalRegistry.Git.git(["-C", dir1])
git1 = LocalRegistry.Git.git(["-C", dir1, "-c", "user.name=a", "-c", "user.email=b@c"])
url1 = "file://$dir1"
dir2 = mktempdir()
git2 = LocalRegistry.Git.git(["-C", dir2])
git2 = LocalRegistry.Git.git(["-C", dir2, "-c", "user.name=a", "-c", "user.email=b@c"])
run(`$git1 init --bare`)
run(`$git2 init`)
write(joinpath(dir2, "README"), "test")
Expand Down

0 comments on commit e460411

Please sign in to comment.