summaryrefslogtreecommitdiffstats
path: root/lib/git/lib.rb
diff options
context:
space:
mode:
authorscott Chacon <schacon@agadorsparticus.corp.reactrix.com>2007-11-08 17:25:41 -0800
committerscott Chacon <schacon@agadorsparticus.corp.reactrix.com>2007-11-08 17:25:41 -0800
commit10045d082117d4ef35da31e1c5a825507b02dd97 (patch)
treeb418c5d28334e8514a075effc20c1ebdcbf34a25 /lib/git/lib.rb
parent1f63953f05a4afe74f881d54f69f77da513939d5 (diff)
downloadthird_party-ruby-git-10045d082117d4ef35da31e1c5a825507b02dd97.tar.gz
third_party-ruby-git-10045d082117d4ef35da31e1c5a825507b02dd97.tar.xz
third_party-ruby-git-10045d082117d4ef35da31e1c5a825507b02dd97.zip
got all the unit tests to run from either place, fixed some old functionality
Diffstat (limited to 'lib/git/lib.rb')
-rw-r--r--lib/git/lib.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/git/lib.rb b/lib/git/lib.rb
index 595f294..681ba58 100644
--- a/lib/git/lib.rb
+++ b/lib/git/lib.rb
@@ -18,7 +18,7 @@ module Git
arr_opts << "#{opts[:between][0]}..#{opts[:between][1].to_s}" if (opts[:between] && opts[:between].size == 2)
arr_opts << opts[:file] if opts[:file].is_a? String
- command('log', arr_opts).split("\n").map { |l| Git::Commit.new(l.split.first) }
+ command('log', arr_opts).split("\n").map { |l| Git::Object::Commit.new(@base, l.split.first) }
end
def revparse(string)