replaced use of Vault with Repository

This commit is contained in:
Jarek Kowalski committed 2017-08-01 08:29:41 +02:00
1 parent 50c2cd86a3
commit 4dcdb69dcc
21 files changed
+54 -99

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ import (
)
// ParseObjectID interprets the given ID string and returns corresponding repo.ObjectID.
func parseObjectID(id string, vlt *repo.Vault, r *repo.Repository) (repo.ObjectID, error) {
func parseObjectID(id string, r *repo.Repository) (repo.ObjectID, error) {
head, tail := splitHeadTail(id)
if len(head) == 0 {
return repo.NullObjectID, fmt.Errorf("invalid object ID: %v", id)