Class: Avm::Git::Scms::GitSubBase::Commit

Inherits:
Scms::Commit
  • Object
show all
Defined in:
lib/avm/git/scms/git_sub_base/commit.rb

Instance Method Summary collapse

Instance Method Details

#changed_filesArray<Pathname>

Returns:

  • (Array<Pathname>)


18
19
20
21
22
# File 'lib/avm/git/scms/git_sub_base/commit.rb', line 18

def changed_files
  parent_commit.changed_files.map do |cf|
    cf.relative_path_from(scm.relative_path_from_parent_scm)
  end
end