<commit_before>require 'formula'

class Tmux < Formula
  homepage 'http://tmux.sourceforge.net'
  url 'http://sourceforge.net/projects/tmux/files/tmux/tmux-1.6/tmux-1.6.tar.gz'
  sha1 '8756f6bcecb18102b87e5d6f5952ba2541f68ed3'

  head 'https://tmux.svn.sourceforge.net/svnroot/tmux/trunk'

  depends_on 'pkg-config' => :build
  depends_on 'libevent'

  if build.head?
    depends_on :automake
    depends_on :libtool
  end

  # This patch adds the implementation of osdep_get_cwd for Darwin platform,
  # so that tmux can get current working directory correctly under Mac OS.
  # NOTE: it applies to 1.6 only, and should be removed when 1.7 is out.
  #       (because it has been merged upstream)
  def patches
   DATA if build.stable?
  end
<commit_msg>tmux: fetch HEAD from git instead of svn<commit_after>require 'formula'

class Tmux < Formula
  homepage 'http://tmux.sourceforge.net'
  url 'http://sourceforge.net/projects/tmux/files/tmux/tmux-1.6/tmux-1.6.tar.gz'
  sha1 '8756f6bcecb18102b87e5d6f5952ba2541f68ed3'

  head 'git://tmux.git.sourceforge.net/gitroot/tmux/tmux'

  depends_on 'pkg-config' => :build
  depends_on 'libevent'

  if build.head?
    depends_on :automake
    depends_on :libtool
  end

  # This patch adds the implementation of osdep_get_cwd for Darwin platform,
  # so that tmux can get current working directory correctly under Mac OS.
  # NOTE: it applies to 1.6 only, and should be removed when 1.7 is out.
  #       (because it has been merged upstream)
  def patches
   DATA if build.stable?
  end

{'fraction_non_alphanumeric': 0.0933420365535248, 'fraction_numerical': 0.044386422976501305, 'mean_word_length': 3.589820359281437, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 1, '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': '5346077', 'n_tokens_mistral': 590, 'n_tokens_neox': 553, 'n_words': 153}