<commit_before>- page_title "Commits", @ref
= content_for :meta_tags do
  - if current_user
    = auto_discovery_link_tag(:atom, namespace_project_commits_url(@project.namespace, @project, @ref, format: :atom, private_token: current_user.private_token), title: "#{@project.name}:#{@ref} commits")

= render "head"

.tree-ref-holder
  = render 'shared/ref_switcher', destination: 'commits'

.commits-feed-holder.hidden-xs.hidden-sm
  - if create_mr_button?(@repository.root_ref, @ref)
    = link_to create_mr_path(@repository.root_ref, @ref), class: 'btn btn-success' do
      = icon('plus')
      Create Merge Request

    - if current_user && current_user.private_token
      = link_to namespace_project_commits_path(@project.namespace, @project, @ref, {format: :atom, private_token: current_user.private_token}), title: "Feed", class: 'prepend-left-10 btn' do
        = icon("rss")
        Commits Feed


%ul.breadcrumb.repo-breadcrumb
  = commits_breadcrumbs

%div{id: dom_id(@project)}
  #commits-list= render "commits", project: @project
.clear
= spinner

- if @commits.count == @limit
  :javascript
    CommitsList.init("#{@ref}", #{@limit});
<commit_msg>Fix commits feed button.<commit_after>- page_title "Commits", @ref
= content_for :meta_tags do
  - if current_user
    = auto_discovery_link_tag(:atom, namespace_project_commits_url(@project.namespace, @project, @ref, format: :atom, private_token: current_user.private_token), title: "#{@project.name}:#{@ref} commits")

= render "head"

.tree-ref-holder
  = render 'shared/ref_switcher', destination: 'commits'

.commits-feed-holder.hidden-xs.hidden-sm
  - if create_mr_button?(@repository.root_ref, @ref)
    = link_to create_mr_path(@repository.root_ref, @ref), class: 'btn btn-success' do
      = icon('plus')
      Create Merge Request

  - if current_user && current_user.private_token
    = link_to namespace_project_commits_path(@project.namespace, @project, @ref, {format: :atom, private_token: current_user.private_token}), title: "Feed", class: 'prepend-left-10 btn' do
      = icon("rss")
      Commits Feed


%ul.breadcrumb.repo-breadcrumb
  = commits_breadcrumbs

%div{id: dom_id(@project)}
  #commits-list= render "commits", project: @project
.clear
= spinner

- if @commits.count == @limit
  :javascript
    CommitsList.init("#{@ref}", #{@limit});

{'fraction_non_alphanumeric': 0.14666666666666667, 'fraction_numerical': 0.0017204301075268817, 'mean_word_length': 4.888607594936709, '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': '3093625', 'n_tokens_mistral': 801, 'n_tokens_neox': 789, 'n_words': 161}