Class: Avm::Git::FileAutoFixup
Defined Under Namespace
Classes: CommitDelegator
Constant Summary collapse
- COMMIT_FORMAT =
'%h - %s (%cr)'
- COMMITS_SEARCH_INTERVAL =
'origin/master..HEAD'
- SKIP_OPTION =
's'
Instance Method Summary collapse
Instance Method Details
#run ⇒ Object
21 22 23 24 25 26 27 28 29 30 |
# File 'lib/avm/git/file_auto_fixup.rb', line 21 def run if commits.count.zero? run_no_commits_found elsif auto_selected_commit.present? fixup_commit(auto_selected_commit) else run_commits_selection end end |