Class: Avm::Git::Scms::Git::CommitDirty
- Inherits:
-
Object
- Object
- Avm::Git::Scms::Git::CommitDirty
- Defined in:
- lib/avm/git/scms/git/commit_dirty.rb
Instance Method Summary collapse
Instance Method Details
#result ⇒ Avm::Git::Scms::Git::Commit?
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 |