diff options
Diffstat (limited to 'modules/git/repo_blob.go')
-rw-r--r-- | modules/git/repo_blob.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/git/repo_blob.go b/modules/git/repo_blob.go index b5447b2bb1..698b6c7074 100644 --- a/modules/git/repo_blob.go +++ b/modules/git/repo_blob.go @@ -5,7 +5,7 @@ package git // GetBlob finds the blob object in the repository. func (repo *Repository) GetBlob(idStr string) (*Blob, error) { - id, err := repo.objectFormat.NewIDFromString(idStr) + id, err := NewIDFromString(idStr) if err != nil { return nil, err } |