summaryrefslogtreecommitdiff
path: root/revparse_test.go
diff options
context:
space:
mode:
authorCarlos Martín Nieto <[email protected]>2015-06-28 01:12:32 +0200
committerCarlos Martín Nieto <[email protected]>2015-06-28 01:12:32 +0200
commit01a2d8d38d4683c6e29da21240ffff7ae7b3a680 (patch)
tree6bc5088c1e062ab02a97e5f49bbe6f58159ba126 /revparse_test.go
parentd2808d16101e113096b3a1c02e3f91122de74f15 (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.go2
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")