diff options
| author | Carlos Martín Nieto <[email protected]> | 2015-06-28 01:12:32 +0200 |
|---|---|---|
| committer | Carlos Martín Nieto <[email protected]> | 2015-06-28 01:12:32 +0200 |
| commit | 01a2d8d38d4683c6e29da21240ffff7ae7b3a680 (patch) | |
| tree | 6bc5088c1e062ab02a97e5f49bbe6f58159ba126 /revparse_test.go | |
| parent | d2808d16101e113096b3a1c02e3f91122de74f15 (diff) | |
Create a ReferenceCollection for managing references
As with the other commits, this clears up the clutter in naming and
around the Repository's API.
Diffstat (limited to 'revparse_test.go')
| -rw-r--r-- | revparse_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/revparse_test.go b/revparse_test.go index 4bc327c..091a76b 100644 --- a/revparse_test.go +++ b/revparse_test.go @@ -34,7 +34,7 @@ func TestRevparseExt(t *testing.T) { _, treeId := seedTestRepo(t, repo) - ref, err := repo.CreateReference("refs/heads/master", treeId, true, "") + ref, err := repo.References.Create("refs/heads/master", treeId, true, "") checkFatal(t, err) obj, ref, err := repo.RevparseExt("master") |
