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

Commit

Permalink
Merge pull request #3 from jacargentina/fix-data-missing
Browse files Browse the repository at this point in the history
Fix missing "data" method when accesing a Git::Submodule
  • Loading branch information
dzaporozhets committed Jun 7, 2013
2 parents cddc4f2 + 775c7a0 commit 3f55fc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/gitlab_git/blob.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def initialize(repository, sha, ref, path)
end

def data
if raw_blob
if raw_blob and raw_blob.respond_to?('data')

This comment has been minimized.

Copy link
@Razer6

Razer6 Jun 30, 2013

Member

@randx Can you bump gitlab_git gem version. This breaks submodules in GitLab 5.3?

raw_blob.data
else
nil
Expand Down

0 comments on commit 3f55fc3

Please sign in to comment.