<commit_before><!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  
    <title>tbranyen/nodegit @ GitHub</title>
    
    <link rel="stylesheet" href="css/common.css">
    <link rel="stylesheet" href="css/ir_black.css">
  </head>

  <body>
    <!-- Fork Me -->
    <a href="http://github.com/tbranyen/nodegit">
      <img class="forkme" src="http://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png" alt="Fork me on GitHub">
    </a>

    <div id="container">

      <!-- Download helpers -->
      <section class="download">
        <a href="http://github.com/tbranyen/nodegit/zipball/master">
          <img src="http://github.com/images/modules/download/zip.png"></a>
        <a href="http://github.com/tbranyen/nodegit/tarball/master">
          <img src="http://github.com/images/modules/download/tar.png"></a>
      </section>

      <!-- Branding -->
      <section class="branding">
        <a href="http://github.com/tbranyen/nodegit">nodegit</a>
        <span class="small">by <a href="http://github.com/tbranyen">tbranyen</a></span>
      </section>

      <div class="description">
        <span class="version">Version 0.0.1</span> Node.js libgit2 asynchronous native bindings
      </div>

      <p>A collection of non-blocking Node.js libgit2 bindings, raw api, convenience api, unit tests, documentation and accomodations to make contributing easier.</p>
      
      <h2>dependencies</h2>
      <p>
        <ul>
          <li><a href="http://nodejs.org/" target="_blank">Node.js 0.4.2 or latest</a></li>
          <li><a href="http://git-scm.com/" target="_blank">Git</a> <em>( if you want to unit test )</em></li>
        </ul>
      </p>

      <h2>install</h2>
      <p>
        <pre class="command">sudo npm install nodegit</pre>
      </p>

      <h2>use</h2>
      <p>
        <em>emulate `git log`</em>
        <pre><code>
  // Load in the module
  var git = require( 'nodegit' );
  // Open a repository for reading
  git.repo( '.git', function( err, repo ) {
      // Success is always 0, failure is always an error string
      if( err ) { throw err; }
      // Use the master branch
      repo.branch( 'master', function( err, branch ) {
          if( err ) { throw err; }
          // Iterate over the revision history
          branch.history.each( function( i, commit ) {
              // Print out `git log` emulation
              console.log( 'commit ' + commit.sha );
              console.log( commit.author.name + '<' + commit.author.email + '>' );
              console.log( commit.time );
              console.log( '\n' );
              console.log( commit.message );
              console.log( '\n' );
          });
      });
  });
          </code>
        </pre>
      </p>


      <h2>download</h2>
      <p>
        You can download this project in either
        <a href="http://github.com/tbranyen/nodegit/zipball/master">zip</a> or
        <a href="http://github.com/tbranyen/nodegit/tarball/master">tar</a> formats.
      </p>

      <p>
        You can also clone the project with <a href="http://git-scm.com">Git</a> by running:
        <pre class="command">$ git clone git://github.com/tbranyen/nodegit</pre>
      </p>

    </div>

    <script src="js/highlight.pack.js"></script>
    <script>
      hljs.tabReplace = '    ';
      hljs.initHighlightingOnLoad();
    </script>
  </body>
</html>

<!--
  ____ ____ ____ ____ ____ ____ ____ 
  ||N |||O |||D |||E |||. |||J |||S ||
  ||__|||__|||__|||__|||__|||__|||__||
  |/__\|/__\|/__\|/__\|/__\|/__\|/__\|

   ____ 
  ||+ ||
  ||__||
  |/__\|

   ____ ____ ____ ____ ____ ____ ____ 
  ||L |||I |||B |||G |||I |||T |||2 ||
  ||__|||__|||__|||__|||__|||__|||__||
  |/__\|/__\|/__\|/__\|/__\|/__\|/__\|

   ____ 
  ||= ||
  ||__||<commit_msg>formatted code<commit_after><!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  
    <title>tbranyen/nodegit @ GitHub</title>
    
    <link rel="stylesheet" href="css/common.css">
    <link rel="stylesheet" href="css/ir_black.css">
  </head>

  <body>
    <!-- Fork Me -->
    <a href="http://github.com/tbranyen/nodegit">
      <img class="forkme" src="http://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png" alt="Fork me on GitHub">
    </a>

    <div id="container">

      <!-- Download helpers -->
      <section class="download">
        <a href="http://github.com/tbranyen/nodegit/zipball/master">
          <img src="http://github.com/images/modules/download/zip.png"></a>
        <a href="http://github.com/tbranyen/nodegit/tarball/master">
          <img src="http://github.com/images/modules/download/tar.png"></a>
      </section>

      <!-- Branding -->
      <section class="branding">
        <a href="http://github.com/tbranyen/nodegit">nodegit</a>
        <span class="small">by <a href="http://github.com/tbranyen">tbranyen</a></span>
      </section>

      <div class="description">
        <span class="version">Version 0.0.1</span> Node.js libgit2 asynchronous native bindings
      </div>

      <p>A collection of non-blocking Node.js libgit2 bindings, raw api, convenience api, unit tests, documentation and accomodations to make contributing easier.</p>
      
      <h2>dependencies</h2>
      <p>
        <ul>
          <li><a href="http://nodejs.org/" target="_blank">Node.js 0.4.2 or latest</a></li>
          <li><a href="http://git-scm.com/" target="_blank">Git</a> <em>( if you want to unit test )</em></li>
        </ul>
      </p>

      <h2>install</h2>
      <p>
        <pre class="command">sudo npm install nodegit</pre>
      </p>

      <h2>use</h2>
      <p>
        <em>emulate `git log`</em>
        <pre><code>
  // Load in the module
  var git = require( 'nodegit' );
  // Open a repository for reading
  git.repo( '.git', function( err, repo ) {
      // Success is always 0, failure is always an error string
      if( err ) { throw err; }
      // Use the master branch
      repo.branch( 'master', function( err, branch ) {
          if( err ) { throw err; }
          // Iterate over the revision history
          branch.history.each( function( i, commit ) {
              // Print out `git log` emulation
              console.log( 'commit ' + commit.sha );
              console.log( commit.author.name + '<' + commit.author.email + '>' );
              console.log( commit.time );
              console.log( '\n' );
              console.log( commit.message );
              console.log( '\n' );
          });
      });
  });
          </code>
        </pre>
      </p>


      <h2>download</h2>
      <p>
        You can download this project in either
        <a href="http://github.com/tbranyen/nodegit/zipball/master">zip</a> or
        <a href="http://github.com/tbranyen/nodegit/tarball/master">tar</a> formats.
      </p>

      <p>
        You can also clone and build the project with <a href="http://git-scm.com">Git</a> by running:
        <pre class="command">$ git clone git://github.com/tbranyen/nodegit

$ cd nodegit

$ ./configure
$ make
$ make install

update with

$ make update
        </pre>
      </p>

    </div>

    <script src="js/highlight.pack.js"></script>
    <script>
      hljs.tabReplace = '    ';
      hljs.initHighlightingOnLoad();
    </script>
  </body>
</html>

<!--
  ____ ____ ____ ____ ____ ____ ____ 
  ||N |||O |||D |||E |||. |||J |||S ||
  ||__|||__|||__|||__|||__|||__|||__||
  |/__\|/__\|/__\|/__\|/__\|/__\|/__\|

   ____ 
  ||+ ||
  ||__||
  |/__\|

   ____ ____ ____ ____ ____ ____ ____ 
  ||L |||I |||B |||G |||I |||T |||2 ||
  ||__|||__|||__|||__|||__|||__|||__||
  |/__\|/__\|/__\|/__\|/__\|/__\|/__\|

   ____ 
  ||= ||
  ||__||
{'fraction_non_alphanumeric': 0.19768488745980708, 'fraction_numerical': 0.006173633440514469, 'mean_word_length': 2.1894995898277276, 'pattern_counts': {'":': 0, '<': 193, '<?xml version=': 0, '>': 191, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 13, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6379856', 'n_tokens_mistral': 2798, 'n_tokens_neox': 2697, 'n_words': 526}