diff options
author | scott Chacon <schacon@agadorsparticus.(none)> | 2007-11-19 07:14:20 -0800 |
---|---|---|
committer | scott Chacon <schacon@agadorsparticus.(none)> | 2007-11-19 07:14:20 -0800 |
commit | 303ffc868266400a518602d2e9e9285361029cb2 (patch) | |
tree | 62ef43fd48df23b55e01733a88fc13f616cf615f /lib/git/log.rb | |
parent | f64d5462fa5323fc81387f79eebe9e1ae9eb0b08 (diff) | |
download | third_party-ruby-git-303ffc868266400a518602d2e9e9285361029cb2.tar.gz third_party-ruby-git-303ffc868266400a518602d2e9e9285361029cb2.tar.xz third_party-ruby-git-303ffc868266400a518602d2e9e9285361029cb2.zip |
changed logging to be far more efficient if you're accessing all the commit objects
Diffstat (limited to 'lib/git/log.rb')
-rw-r--r-- | lib/git/log.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/git/log.rb b/lib/git/log.rb index c91538d..9437ea6 100644 --- a/lib/git/log.rb +++ b/lib/git/log.rb @@ -84,9 +84,9 @@ module Git # actually run the 'git log' command def run_log - log = @base.lib.log_commits(:count => @count, :object => @object, + log = @base.lib.full_log_commits(:count => @count, :object => @object, :path_limiter => @path, :since => @since, :between => @between) - @commits = log.map { |l| Git::Object::Commit.new(@base, l) } + @commits = log.map { |c| Git::Object::Commit.new(@base, c['sha'], c) } end end |