7afee665b0
MergeRequest#environments now returns an empty array when diff_head_commit is nil ## Does this MR meet the acceptance criteria? - [x] No CHANGELOG needed for a bug introduced in an RC. - Tests - [x] Added for this feature/bug - [x] All builds are passing - [x] Conform by the [merge request performance guides](http://docs.gitlab.com/ce/development/merge_request_performance_guidelines.html) - [ ] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides) - [x] Branch has no merge conflicts with `master` (if you do - rebase it please) - [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits) ## What are the relevant issue numbers? Closes #22246 See merge request !6379 |
||
---|---|---|
.. | ||
ci | ||
concerns | ||
hooks | ||
members | ||
network | ||
project_services | ||
protected_branch | ||
.gitkeep | ||
ability.rb | ||
abuse_report.rb | ||
appearance.rb | ||
application_setting.rb | ||
audit_event.rb | ||
award_emoji.rb | ||
blob.rb | ||
board.rb | ||
broadcast_message.rb | ||
commit.rb | ||
commit_range.rb | ||
commit_status.rb | ||
compare.rb | ||
deploy_key.rb | ||
deploy_keys_project.rb | ||
deployment.rb | ||
diff_note.rb | ||
discussion.rb | ||
email.rb | ||
environment.rb | ||
event.rb | ||
external_issue.rb | ||
forked_project_link.rb | ||
generic_commit_status.rb | ||
global_label.rb | ||
global_milestone.rb | ||
group.rb | ||
identity.rb | ||
issue.rb | ||
key.rb | ||
label.rb | ||
label_link.rb | ||
legacy_diff_note.rb | ||
lfs_object.rb | ||
lfs_objects_project.rb | ||
list.rb | ||
member.rb | ||
merge_request.rb | ||
merge_request_diff.rb | ||
milestone.rb | ||
namespace.rb | ||
note.rb | ||
notification_setting.rb | ||
oauth_access_token.rb | ||
personal_access_token.rb | ||
personal_snippet.rb | ||
project.rb | ||
project_feature.rb | ||
project_group_link.rb | ||
project_import_data.rb | ||
project_snippet.rb | ||
project_team.rb | ||
project_wiki.rb | ||
protected_branch.rb | ||
release.rb | ||
repository.rb | ||
security_event.rb | ||
sent_notification.rb | ||
service.rb | ||
snippet.rb | ||
spam_log.rb | ||
subscription.rb | ||
todo.rb | ||
tree.rb | ||
u2f_registration.rb | ||
user.rb | ||
user_agent_detail.rb | ||
users_star_project.rb | ||
wiki_page.rb |