Class: Avm::Git::FileAutoFixup
- Inherits:
-
Object
- Object
- Avm::Git::FileAutoFixup
- Defined in:
- lib/avm/git/file_auto_fixup.rb
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
17 18 19 20 21 22 23 24 25 26 |
# File 'lib/avm/git/file_auto_fixup.rb', line 17 def run if commits.count.zero? run_no_commits_found elsif commits.count == 1 fixup_commit(commits.first) else run_commits_selection end end |