summaryrefslogtreecommitdiff
path: root/revparse_test.go
diff options
context:
space:
mode:
authorCarlos Martín Nieto <[email protected]>2015-03-15 01:49:32 +0100
committerCarlos Martín Nieto <[email protected]>2015-03-15 01:49:32 +0100
commitc4fce1a218fd33938c0be90e939531c0a00ebf7f (patch)
tree40cf7f6c0331050db5f841ddfd6738951f482f66 /revparse_test.go
parent050e6fbc49ac1a173af5e3462b3c2d330cadd113 (diff)
Update to libgit2 d675982a153
There's been some changes to the checkout strategy, especially the SAFE_CREATE mode, which is now the RECREATE_MISSING flag, though that shouldn't be necessary to use in the general case. The largest changes come from the removal of the signture from ref-modifying functions/methods and the removal of the reflog string in all but those directly related to moving references.
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 c046a20..8c3a352 100644
--- a/revparse_test.go
+++ b/revparse_test.go
@@ -35,7 +35,7 @@ func TestRevparseExt(t *testing.T) {
_, treeId := seedTestRepo(t, repo)
- ref, err := repo.CreateReference("refs/heads/master", treeId, true, nil, "")
+ ref, err := repo.CreateReference("refs/heads/master", treeId, true, "")
checkFatal(t, err)
obj, ref, err := repo.RevparseExt("master")