lib/gitlab_git/blob.rb in gitlab_git-7.1.5 vs lib/gitlab_git/blob.rb in gitlab_git-7.1.6
- old
+ new
@@ -24,10 +24,10 @@
Blob.new(
id: blob.oid,
name: blob_entry[:name],
size: blob.size,
data: blob.content,
- mode: blob_entry[:filemode],
+ mode: blob_entry[:filemode].to_s(8),
path: path,
commit_id: sha,
)
end
end