Commit Graph

15 Commits

Author SHA1 Message Date
GitLab Bot faa19db44a Add latest changes from gitlab-org/gitlab@master 2022-08-01 15:11:13 +00:00
GitLab Bot 68e6b85dfa Add latest changes from gitlab-org/gitlab@master 2022-05-31 00:09:17 +00:00
GitLab Bot 9b124bc39e Add latest changes from gitlab-org/gitlab@master 2021-08-25 00:11:06 +00:00
GitLab Bot 59776dd803 Add latest changes from gitlab-org/gitlab@master 2021-07-07 18:08:30 +00:00
GitLab Bot 4eea104c69 Add latest changes from gitlab-org/gitlab@master 2019-12-11 15:07:38 +00:00
Mark Chao 67b579c54e Allow getting all paths (old & new) involved in MR
Fetch database columns directly if available
2018-11-07 11:28:43 +08:00
gfyoung 50abbd3e53 Enable frozen string in app/models/*.rb
Partially addresses #47424.
2018-07-26 16:55:41 -07:00
Oswaldo Ferreira 5174e99aa2 Remove unused Compare#base_commit 2018-03-08 11:39:50 -03:00
Oswaldo Ferreira c6273ec50c Avoid re-fetching merge-base SHA from Gitaly unnecessarily 2018-03-07 22:46:29 -03:00
Dmitriy Zaporozhets b48c4b2662 Refactor straight compare diff code
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-10-12 16:32:57 +03:00
Dmitriy Zaporozhets ac4db38094 Use straight diff approach when compare merge request versions
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-10-12 16:32:57 +03:00
Douwe Maan c008a1a967 Make Compare#diffs diff_options a regular argument 2016-08-03 09:32:01 -07:00
Paco Guzman c86c1905b5 switch from diff_file_collection to diffs
So we have raw_diffs too
2016-08-03 07:00:20 +02:00
Paco Guzman 1d0c7b7492 Introduce Compare model in the codebase.
This object will manage Gitlab::Git::Compare instances
2016-08-03 07:00:20 +02:00
Paco Guzman 8f359ea917 Move to Gitlab::Diff::FileCollection
Instead calling diff_collection.count use diff_collection.size which is cache on the diff_collection
2016-08-03 07:00:20 +02:00