<commit_before>require 'formula'

class GitManuals < Formula
  url 'http://kernel.org/pub/software/scm/git/git-manpages-1.7.4.1.tar.bz2'
  md5 'ac3e15c568e887af4517a01e16671947'
end

class GitHtmldocs < Formula
  url 'http://kernel.org/pub/software/scm/git/git-htmldocs-1.7.4.1.tar.bz2'
  md5 'a18f25174fd2734b1d535356f0368890'
end

class Git < Formula
  url 'http://kernel.org/pub/software/scm/git/git-1.7.4.1.tar.bz2'
  md5 '76898de4566d11c0d0eec7e99edc2b5c'
  homepage 'http://git-scm.com'

  def install
    # if these things are installed, tell git build system to not use them
    ENV['NO_FINK']='1'
    ENV['NO_DARWIN_PORTS']='1'
    # If local::lib is used you get a 'Only one of PREFIX or INSTALL_BASE can be given' error
    ENV['PERL_MM_OPT']='';
    # build verbosely so we can debug better
    ENV['V']='1'

    inreplace "Makefile" do |s|
      s.remove_make_var! %w{CFLAGS LDFLAGS}
    end

    system "make", "prefix=#{prefix}", "install"
<commit_msg>Update Git to v1.7.4.2<commit_after>require 'formula'

class GitManuals < Formula
  url 'http://kernel.org/pub/software/scm/git/git-manpages-1.7.4.2.tar.bz2'
  md5 'bd3b79133abb9388318962637df145a7'
end

class GitHtmldocs < Formula
  url 'http://kernel.org/pub/software/scm/git/git-htmldocs-1.7.4.2.tar.bz2'
  md5 '15d9d5c5b2b1f261fdc15f2dd75bbb86'
end

class Git < Formula
  url 'http://kernel.org/pub/software/scm/git/git-1.7.4.2.tar.bz2'
  md5 '4b2df3f916061439ae105d7a27637925'
  homepage 'http://git-scm.com'

  def install
    # if these things are installed, tell git build system to not use them
    ENV['NO_FINK']='1'
    ENV['NO_DARWIN_PORTS']='1'
    # If local::lib is used you get a 'Only one of PREFIX or INSTALL_BASE can be given' error
    ENV['PERL_MM_OPT']='';
    # build verbosely so we can debug better
    ENV['V']='1'

    inreplace "Makefile" do |s|
      s.remove_make_var! %w{CFLAGS LDFLAGS}
    end

    system "make", "prefix=#{prefix}", "install"

{'fraction_non_alphanumeric': 0.13741636644364386, 'fraction_numerical': 0.0905815748841997, 'mean_word_length': 3.661870503597122, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 7, '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': '4174822', 'n_tokens_mistral': 910, 'n_tokens_neox': 811, 'n_words': 167}