-
Notifications
You must be signed in to change notification settings - Fork 51
submodules in diff #37
Conversation
name: blob_entry[:name], | ||
data: "", | ||
path: path, | ||
commit_id: sha, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2 spaces please
@skv-headless please add description to your PR |
@randx fixed and rebased. |
@randx ping |
@@ -55,6 +55,11 @@ def to_hash | |||
hash | |||
end | |||
|
|||
def submodule? | |||
#TODO NOTE FIXME added submodules a_mode is nil in grit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is it ok to leave it as is?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know it's a bug in grit. a_mode is nil in grit that's way I can't hide "View file" button here https://cloud.githubusercontent.com/assets/1488195/3720833/2900e428-165a-11e4-9826-5687e44d8b1d.png.
I'm not sure that it's possible to fix now.
ca1613d
to
292902b
Compare
Blob.new( | ||
id: blob_entry[:oid], | ||
name: blob_entry[:name], | ||
data: "", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Prefer single-quoted strings when you don't need string interpolation or special symbols.
292902b
to
5969366
Compare
Rebased. @randx please take a look. |
We have a lot of submodules. It's confusing when you don't see that they have been updated. Please give me any feedback. |
@skv-headless Looks good |
repository.blob_at also find submodules
related to gitlabhq/gitlabhq#7389