Class: Rugged::Commit

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

Instance Method Summary collapse

Instance Method Details

#showObject



3
4
5
6
7
# File 'lib/pronto/rugged/commit.rb', line 3

def show
  # TODO: Rugged does not seem to support diffing against multiple parents
  return if parents.count != 1
  diff(parents.first, reverse: true)
end