Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Dec 9, 2010
  1. @technoweenie
  2. @technoweenie
  3. @technoweenie
  4. @technoweenie

    test patch methods

    technoweenie authored
  5. @technoweenie
  6. @technoweenie
Commits on Nov 24, 2010
  1. @rtomayko

    typo

    rtomayko authored
  2. @rtomayko

    fix relative alternates paths

    rtomayko authored
    Relative paths in a <repo>.git/objects/info/alternates file are to
    be expanded relative to the <repo>.git/objects directory.
    Previously, they were expanded relative to the <repo>.git directory.
    
    The current code checks in both locations for backward compatibility
    with grit <= 2.3.0 but I'd rather rip it out completely.
Commits on Nov 23, 2010
  1. @rtomayko
Commits on Nov 1, 2010
  1. @technoweenie
Commits on Oct 28, 2010
  1. @technoweenie
  2. @technoweenie

    Merge branch 'perf'

    technoweenie authored
  3. @technoweenie
Commits on Oct 22, 2010
  1. @technoweenie
  2. @technoweenie

    update history

    technoweenie authored
  3. @technoweenie

    allow Index#commit to specify separate authors and committers with co…

    technoweenie authored
    …rrect timezones for the timestamps
Commits on Oct 21, 2010
  1. @technoweenie
Commits on Oct 16, 2010
  1. @rtomayko
  2. @rtomayko
  3. @rtomayko

    use String#<< instead of String#+ in Git#sh and Git#wild_sh

    rtomayko authored
    This speeds things up considerably when output is large. Especially
    so under some versions of Rails (AS) where String#+ is made to be
    extremely slow.
    
    With 500K blob, before:
    
        $ ruby bench-string-concat.rb 12044a76034e894c2412aea9c20508b5c8277784
        blob: 12044a76034e894c2412aea9c20508b5c8277784
        size: 499855
                                            user     system      total        real
        native cat_file                11.030000   9.140000  20.230000 ( 21.182163)
        ruby cat_file                   0.040000   0.020000   0.060000 (  0.061033)
    
    ActiveSupport makes it even worse:
    
        $ ruby -ractive_support bench-string-concat.rb 12044a76034e894c2412aea9c20508b5c8277784
        blob: 12044a76034e894c2412aea9c20508b5c8277784
        size: 499855
                                            user     system      total        real
        native cat_file                15.830000   9.570000  25.470000 ( 26.286903)
        ruby cat_file                   0.050000   0.020000   0.070000 (  0.073557)
    
    With this commit applied (using String#<< instead of String#+):
    
        $ ruby bench-string-concat.rb 12044a76034e894c2412aea9c20508b5c8277784
        blob: 12044a76034e894c2412aea9c20508b5c8277784
        size: 499855
                                            user     system      total        real
        native cat_file                 0.310000   0.440000   0.800000 (  1.765703)
        ruby cat_file                   0.040000   0.020000   0.060000 (  0.064426)
    
    The bench-string-concat.rb script is here:
    
    <https://gist.github.com/e749138b066ed9d81fbe>
Commits on Oct 11, 2010
  1. @technoweenie
  2. @technoweenie

    update history

    technoweenie authored
  3. @technoweenie
Commits on Oct 8, 2010
  1. @technoweenie
  2. @technoweenie

    update history

    technoweenie authored
  3. @technoweenie
  4. @technoweenie
  5. @technoweenie

    explicitly make the Grit data classes lazily loaded (instead of every…

    technoweenie authored
    … single ruby object). Also, add attr_writer(:lazy_source) for lazy objects
Commits on Sep 29, 2010
  1. Release 2.3.0

    authored
Commits on Aug 31, 2010
  1. Update Readme.

    authored
  2. @cehoffman

    Ruby 1.9 compatibility

    cehoffman authored committed
    * Add current directory to path for tests because 1.9 does not
    * Explicity open file in binary mode to get around encoding issues
  3. Add Repo#init.

    authored
  4. @itspriddle

    Fixed gemspec homepage

    itspriddle authored committed
Something went wrong with that request. Please try again.