Skip to content

Commit bee5c6f

Browse files
authored
Update repo_blob.go
1 parent 03c0c2b commit bee5c6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

repo_blob.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ func (repo *Repository) CatFileBlob(rev string) (*Blob, error) {
1111
return nil, err
1212
}
1313

14-
typ, err := repo.CatFileType(revHash)
14+
typ, err := repo.CatFileType(rev)
1515
if err != nil {
1616
return nil, err
1717
}

0 commit comments

Comments
 (0)