lib/libdolt/git/repository.rb in libdolt-0.7.0 vs lib/libdolt/git/repository.rb in libdolt-0.8.0

- old
+ new

@@ -57,11 +57,11 @@ rp.errback { |err| d.reject(err) } end end def blame(ref, path) - deferred_method("blame -l -t -p #{ref} #{path}") do |output, s| + deferred_method("blame -l -t -p #{ref} -- #{path}") do |output, s| Dolt::Git::Blame.parse_porcelain(output) end end def log(ref, path, limit) @@ -146,10 +146,10 @@ d end def git(cmd) - "git --git-dir #{subject.path} #{cmd}" + "git --git-dir #{path} #{cmd}" end end end end