diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2016-10-26 15:52:16 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-26 15:52:16 +0000 |
commit | f5b199f725c4695bbab7b3e202b6fca2a66f6ca3 (patch) | |
tree | 29222ec30185a3c9bfc9c05689bbd8e34e3231fb /fixtures/fixtures.go | |
parent | f87b26504f684140edc9eb80258c3f27c91b92be (diff) | |
download | go-git-f5b199f725c4695bbab7b3e202b6fca2a66f6ca3.tar.gz |
formats: Index read support (#91)
* utils: fs generic TestSuite
* fs: fs.TempFile
* utils: fs small changes requested
* utils: fs, test fs.Create overwriting files
* formats: index, basic v2 reader
* formats: index, tree extension support
* formats: index, stage decoding
* formats: index, extended flags, v3 support
* formats: index, v4 support
* formats: index, Resolve undo support
* formats: index, fix error when decoding invalidated entries
* formats: index, fix style issues
Diffstat (limited to 'fixtures/fixtures.go')
-rw-r--r-- | fixtures/fixtures.go | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/fixtures/fixtures.go b/fixtures/fixtures.go index 15f0e02..7bc82e8 100644 --- a/fixtures/fixtures.go +++ b/fixtures/fixtures.go @@ -42,6 +42,23 @@ var fixtures = Fixtures{{ DotGitHash: core.NewHash("21504f6d2cc2ef0c9d6ebb8802c7b49abae40c1a"), ObjectsCount: 28, }, { + Tags: []string{".git", "merge-conflict"}, + URL: "https://github.com/git-fixtures/basic.git", + DotGitHash: core.NewHash("4870d54b5b04e43da8cf99ceec179d9675494af8"), +}, { + Tags: []string{".git", "resolve-undo"}, + URL: "https://github.com/git-fixtures/basic.git", + DotGitHash: core.NewHash("df6781fd40b8f4911d70ce71f8387b991615cd6d"), +}, { + Tags: []string{".git", "intent-to-add"}, + URL: "https://github.com/git-fixtures/basic.git", + DotGitHash: core.NewHash("4e7600af05c3356e8b142263e127b76f010facfc"), +}, { + Tags: []string{".git", "index-v4"}, + URL: "https://github.com/git-fixtures/basic.git", + DotGitHash: core.NewHash("935e5ac17c41c309c356639816ea0694a568c484"), +}, { + Tags: []string{"packfile", ".git", "unpacked", "multi-packfile"}, URL: "https://github.com/src-d/go-git.git", Head: core.NewHash("e8788ad9165781196e917292d6055cba1d78664e"), @@ -158,6 +175,8 @@ func (f *Fixture) DotGit() fs.Filesystem { fn := filepath.Join(RootFolder, DataFolder, fmt.Sprintf("git-%s.tgz", f.DotGitHash)) path, err := tgz.Extract(fn) if err != nil { + fmt.Println(os.Getwd()) + fmt.Println(filepath.Clean(fn)) panic(err) } |