<commit_before>require 'formula'

class GitManuals < Formula
  url 'http://git-core.googlecode.com/files/git-manpages-1.7.10.tar.gz'
  sha1 '5852d1dead0190edeba1803a70fac5d76523a616'
end

class GitHtmldocs < Formula
  url 'http://git-core.googlecode.com/files/git-htmldocs-1.7.10.tar.gz'
  sha1 'd624d67dd4988dad8164f4395d74b73c21434a29'
end

class Git < Formula
  homepage 'http://git-scm.com'
  url 'http://git-core.googlecode.com/files/git-1.7.10.tar.gz'
  sha1 '501ee8685c148d377950e42c111e01d83fd1d41a'

  head 'https://github.com/git/git.git'

  depends_on 'pcre' if ARGV.include? '--with-pcre'

  def options
    [
      ['--with-blk-sha1', 'compile with the optimized SHA1 implementation'],
      ['--with-pcre', 'compile with the PCRE library'],
    ]
  end

  def install
    # If these things are installed, tell Git build system to not use them
    ENV['NO_FINK'] = '1'
    ENV['NO_DARWIN_PORTS'] = '1'
    ENV['V'] = '1' # build verbosely<commit_msg>git 1.7.10.1<commit_after>require 'formula'

class GitManuals < Formula
  url 'http://git-core.googlecode.com/files/git-manpages-1.7.10.1.tar.gz'
  sha1 '5bff761bc40a6b3cfe35ba824357dcf611dbd5d2'
end

class GitHtmldocs < Formula
  url 'http://git-core.googlecode.com/files/git-htmldocs-1.7.10.1.tar.gz'
  sha1 '29b79312482f9aaf92ee3d970caee5ed8ab96bba'
end

class Git < Formula
  homepage 'http://git-scm.com'
  url 'http://git-core.googlecode.com/files/git-1.7.10.1.tar.gz'
  sha1 '870361f93fad7999f121bc7bc91a743feda68bdb'

  head 'https://github.com/git/git.git'

  depends_on 'pcre' if ARGV.include? '--with-pcre'

  def options
    [
      ['--with-blk-sha1', 'compile with the optimized SHA1 implementation'],
      ['--with-pcre', 'compile with the PCRE library'],
    ]
  end

  def install
    # If these things are installed, tell Git build system to not use them
    ENV['NO_FINK'] = '1'
    ENV['NO_DARWIN_PORTS'] = '1'
    ENV['V'] = '1' # build verbosely
{'fraction_non_alphanumeric': 0.14293112377006734, 'fraction_numerical': 0.09994821336095287, 'mean_word_length': 3.556603773584906, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 4, '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': '4082288', 'n_tokens_mistral': 898, 'n_tokens_neox': 792, 'n_words': 146}