Class: Rugged::Repository

Inherits:
Object
  • Object
show all
Defined in:
lib/pronto/rugged/repository.rb

Instance Method Summary collapse

Instance Method Details

#blame(filepath) ⇒ Object



5
6
7
8
9
# File 'lib/pronto/rugged/repository.rb', line 5

def blame(filepath)
  # TODO: Using grit blame implementation for now.
  # Replace it with Rugged implementation when it's available.
  ::Grit::Repo.new(path).blame(filepath, 'HEAD')
end