Skip to content
This repository was archived by the owner on Apr 12, 2019. It is now read-only.

Commit c7038bc

Browse files
authored
Fix func name
1 parent dcfda73 commit c7038bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tree_entry_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ func setupGitRepo(url string) string {
2121
log.Fatal(err)
2222
}
2323
*/
24-
err = Clone(url, dir, CloneRepoOptions{Mirror: false, Bare: false, Quiet: true})
24+
err = Clone(url, dir, CloneRepoOptions{})
2525
if err != nil {
2626
panic(err)
2727
}
@@ -66,4 +66,4 @@ func benchmarkGetCommitsInfo(url string, b *testing.B) {
6666
func BenchmarkGetCommitsInfoGitea(b *testing.B) { benchmarkGetCommitsInfo("https://github.com/go-gitea/gitea.git", b) } //5k+ commits
6767
func BenchmarkGetCommitsInfoMoby(b *testing.B) { benchmarkGetCommitsInfo("https://github.com/moby/moby.git", b) } //32k+ commits
6868
func BenchmarkGetCommitsInfoGo(b *testing.B) { benchmarkGetCommitsInfo("https://github.com/golang/go.git", b) } //32k+ commits
69-
func BenchmarkGetCommitsInfoGo(b *testing.B) { benchmarkGetCommitsInfo("https://github.com/torvalds/linux.git", b) } //677k+ commits
69+
func BenchmarkGetCommitsInfoLinux(b *testing.B) { benchmarkGetCommitsInfo("https://github.com/torvalds/linux.git", b) } //677k+ commits

0 commit comments

Comments
 (0)