Skip to content
This repository was archived by the owner on May 12, 2018. It is now read-only.

submodules in diff #37

Merged
merged 1 commit into from
Oct 28, 2014
Merged

Conversation

skv-headless
Copy link
Contributor

repository.blob_at also find submodules
related to gitlabhq/gitlabhq#7389

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.08%) when pulling 210665d on skv-headless:submodule-method into 7860e50 on gitlabhq:master.

name: blob_entry[:name],
data: "",
path: path,
commit_id: sha,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2 spaces please

@dzaporozhets
Copy link
Contributor

@skv-headless please add description to your PR

@skv-headless
Copy link
Contributor Author

@randx fixed and rebased.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.08%) when pulling ca1613d on skv-headless:submodule-method into 441daa1 on gitlabhq:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.08%) when pulling ca1613d on skv-headless:submodule-method into 441daa1 on gitlabhq:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.08%) when pulling ca1613d on skv-headless:submodule-method into 441daa1 on gitlabhq:master.

@dosire
Copy link
Member

dosire commented Aug 29, 2014

@randx ping

@@ -55,6 +55,11 @@ def to_hash
hash
end

def submodule?
#TODO NOTE FIXME added submodules a_mode is nil in grit
Copy link
Contributor

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?

Copy link
Contributor Author

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.

Blob.new(
id: blob_entry[:oid],
name: blob_entry[:name],
data: "",

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.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.04%) when pulling 292902b on skv-headless:submodule-method into cba8de9 on gitlabhq:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.15%) when pulling 5969366 on skv-headless:submodule-method into cba8de9 on gitlabhq:master.

@skv-headless
Copy link
Contributor Author

Rebased. @randx please take a look.

@skv-headless
Copy link
Contributor Author

We have a lot of submodules. It's confusing when you don't see that they have been updated. Please give me any feedback.

@dzaporozhets
Copy link
Contributor

@skv-headless Looks good

dzaporozhets added a commit that referenced this pull request Oct 28, 2014
@dzaporozhets dzaporozhets merged commit ad8ce67 into gitlabhq:master Oct 28, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

5 participants