gitlab-org--gitlab-foss/spec/lib/gitlab/git
Francisco Javier López 5a3e6fdff9
Fixing image lfs bug and also displaying text lfs
This commit, introduced in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/23812,
fixes a problem creating a displaying image diff notes when the image
is stored in LFS. The main problem was that `Gitlab::Diff::File` was
returning an invalid valid in `text?` for this kind of files.

It also fixes a rendering problem with other LFS files, like text
ones. They LFS pointer shouldn't be shown when LFS is enabled
for the project, but they were.
2018-12-27 16:51:07 +01:00
..
conflict Fix 500 error when trying to resolve non-ASCII conflicts in editor 2018-03-23 18:33:14 +00:00
patches Apply patches when creating MR via email 2018-11-07 16:27:55 +01:00
attributes_at_ref_parser_spec.rb Fix typos in comments and specs 2018-11-01 08:59:20 +02:00
attributes_parser_spec.rb Add spec for Gitlab::Git::Repository#attributes 2018-10-30 15:44:55 +08:00
blame_spec.rb Refactor gitlab:import:repos task to remove direct disk access 2018-07-31 16:28:44 -04:00
blob_spec.rb Fixing image lfs bug and also displaying text lfs 2018-12-27 16:51:07 +01:00
branch_spec.rb Remove Gitlab::Git::Repository#rugged and Gollum code 2018-10-02 16:34:28 -03:00
commit_spec.rb Batch load only data from same repository when lazy object is accessed 2018-11-26 11:15:18 +01:00
compare_spec.rb Refactor gitlab:import:repos task to remove direct disk access 2018-07-31 16:28:44 -04:00
diff_collection_spec.rb Refactor gitlab:import:repos task to remove direct disk access 2018-07-31 16:28:44 -04:00
diff_spec.rb Remove Gitlab::Git::Repository#rugged and Gollum code 2018-10-02 16:34:28 -03:00
diff_stats_collection_spec.rb Calculate modified paths of a git push operation 2018-09-28 15:13:04 +02:00
gitmodules_parser_spec.rb Handle CR-LFs properly in .gitmodules file 2018-03-30 15:23:44 -07:00
hook_env_spec.rb Use `Gitlab::SafeRequestStore` in more places 2018-09-24 12:11:27 -07:00
lfs_changes_spec.rb Adds tracing messages for slow git pushes 2018-10-25 10:10:45 +01:00
lfs_pointer_file_spec.rb File upload UI obeys LFS filters 2018-02-06 15:26:25 +00:00
merge_base_spec.rb Eliminate duplicated words 2018-11-22 01:01:23 +09:00
object_pool_spec.rb Upgrade Gitaly to 1.9.0 2018-12-17 09:26:09 +01:00
pre_receive_error_spec.rb Don't use Gitlab::Utils.nlbr in Gitlab::Git 2018-06-11 10:42:09 +00:00
push_spec.rb Treat nil git push revisons as a blank Git SHA value 2018-10-02 13:01:55 +02:00
raw_diff_change_spec.rb Backport some changes from gitlab-ee!5476 2018-05-09 13:20:28 -05:00
remote_mirror_spec.rb SSH public-key authentication for push mirroring 2018-11-19 11:46:39 +00:00
remote_repository_spec.rb Refactor gitlab:import:repos task to remove direct disk access 2018-07-31 16:28:44 -04:00
repository_cleaner_spec.rb Fix repository cleanup with object storage on 2018-12-15 13:50:59 +00:00
repository_spec.rb Don't specify `shell` for Gitaly write-ref 2018-11-26 16:44:26 +01:00
tag_spec.rb Batch load only data from same repository when lazy object is accessed 2018-11-26 11:15:18 +01:00
tree_spec.rb Revert "Merge branch 'revert-e2aa2177' into 'master'" 2018-11-20 12:29:56 +00:00
user_spec.rb Resolve "Add functionality to change what email address online actions commit using" 2018-09-14 09:52:09 +00:00
util_spec.rb
wiki_spec.rb Remove a dependency on gitlab-gollum-lib 2018-10-16 12:53:30 +01:00
wraps_gitaly_errors_spec.rb Move Repository#wrapped_gitaly_errors into concern 2018-10-30 15:53:46 +01:00