diff options
author | Sean McGivern <sean@mcgivern.me.uk> | 2017-06-09 13:10:44 +0300 |
---|---|---|
committer | Sean McGivern <sean@mcgivern.me.uk> | 2017-06-09 13:10:44 +0300 |
commit | 66aad16d1aaa426237e52ef19385385566f194dc (patch) | |
tree | 47784b6a677d4f8d1fd82bc435e0ea6c9380d775 /lib/gitlab | |
parent | 288e8c7c42bd9507725637dcf7e5b8e0eaa5229c (diff) | |
parent | 370bc86fb007c1683495bdf4082bf5442b517895 (diff) |
Merge branch 'dm-blob-binaryness-change' into 'master'
Detect if blob binaryness changes after loading all data
See merge request !11981
Diffstat (limited to 'lib/gitlab')
-rw-r--r-- | lib/gitlab/git/blob.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gitlab/git/blob.rb b/lib/gitlab/git/blob.rb index d60e607b02b..33a7624e303 100644 --- a/lib/gitlab/git/blob.rb +++ b/lib/gitlab/git/blob.rb @@ -123,6 +123,7 @@ module Gitlab @loaded_all_data = true @data = repository.lookup(id).content @loaded_size = @data.bytesize + @binary = nil end def name |