aboutsummaryrefslogtreecommitdiffstats
path: root/fixtures/fixtures.go
diff options
context:
space:
mode:
authorSantiago M. Mola <santi@mola.io>2016-11-29 15:07:09 +0100
committerGitHub <noreply@github.com>2016-11-29 15:07:09 +0100
commit47007c70c5a696472576a522cd0e265a777f97a8 (patch)
tree2f49e52f42556a3707c24a263a571bcae39cfac6 /fixtures/fixtures.go
parent2c20b7e507a6514be2efa66143c13a60a87ee4b6 (diff)
downloadgo-git-47007c70c5a696472576a522cd0e265a777f97a8.tar.gz
transport: add local transport (#145)
* transport: move common packp protocol out of ssh transport. * fixtures: add fixture for empty repository. * transport: add file:// transport
Diffstat (limited to 'fixtures/fixtures.go')
-rw-r--r--fixtures/fixtures.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/fixtures/fixtures.go b/fixtures/fixtures.go
index 324f2da..4e5e2bb 100644
--- a/fixtures/fixtures.go
+++ b/fixtures/fixtures.go
@@ -115,6 +115,11 @@ var fixtures = Fixtures{{
Tags: []string{"packfile", "diff-tree"},
URL: "https://github.com/toqueteos/ts3.git",
PackfileHash: plumbing.NewHash("21b33a26eb7ffbd35261149fe5d886b9debab7cb"),
+}, {
+ Tags: []string{"empty", ".git"},
+ URL: "https://github.com/git-fixtures/empty.git",
+ DotGitHash: plumbing.NewHash("4abe340d8d378baf7c2bfb2854c0fa498642bac3"),
+ ObjectsCount: 0,
}}
func All() Fixtures {