<commit_before>- merge_request = deployment.deployable.try(:merge_request)

%div.branch-commit
  - if deployment.ref
    .icon-container
      = deployment.tag? ? icon('tag') : icon('code-fork')
    = link_to deployment.ref, namespace_project_commits_path(@project.namespace, @project, deployment.ref), class: "monospace branch-name"
  .icon-container
    = custom_icon("icon_commit")
  = link_to deployment.short_sha, namespace_project_commit_path(@project.namespace, @project, deployment.sha), class: "commit-id monospace"
  
  - if merge_request
    %span in
    = link_to_gfm merge_request.to_reference, merge_request_path(merge_request)

  %p.commit-title
    %span
      - if commit_title = deployment.commit_title
        = author_avatar(deployment.commit, size: 20)
        = link_to_gfm commit_title, namespace_project_commit_path(@project.namespace, @project, deployment.sha), class: "commit-row-message"
      - else
        Cant find HEAD commit for this branch
<commit_msg>Removes Merge Request reference from commit column due to performance issues<commit_after>- merge_request = deployment.deployable.try(:merge_request)

%div.branch-commit
  - if deployment.ref
    .icon-container
      = deployment.tag? ? icon('tag') : icon('code-fork')
    = link_to deployment.ref, namespace_project_commits_path(@project.namespace, @project, deployment.ref), class: "monospace branch-name"
  .icon-container
    = custom_icon("icon_commit")
  = link_to deployment.short_sha, namespace_project_commit_path(@project.namespace, @project, deployment.sha), class: "commit-id monospace"

  %p.commit-title
    %span
      - if commit_title = deployment.commit_title
        = author_avatar(deployment.commit, size: 20)
        = link_to_gfm commit_title, namespace_project_commit_path(@project.namespace, @project, deployment.sha), class: "commit-row-message"
      - else
        Cant find HEAD commit for this branch

{'fraction_non_alphanumeric': 0.10792492179353493, 'fraction_numerical': 0.0020855057351407717, 'mean_word_length': 4.315789473684211, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6432165', 'n_tokens_mistral': 584, 'n_tokens_neox': 567, 'n_words': 119}