Class: Avm::Git::Scms::Git::CommitDirty

Inherits:
Object
  • Object
show all
Defined in:
lib/avm/git/scms/git/commit_dirty.rb

Instance Method Summary collapse

Instance Method Details

#resultAvm::Git::Scms::Git::Commit?

Returns:



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

def result
  return nil unless git_repo.dirty?

  run_commit(asserted_commit_info)
  head_commit
end