Class: Avm::Git::FileAutoFixup
Defined Under Namespace
Classes: CommitDelegator
Constant Summary collapse
- COMMITS_SEARCH_INTERVAL =
'origin/master..HEAD'
Instance Method Summary collapse
Instance Method Details
#git_relative_path ⇒ Object
19 20 21 |
# File 'lib/avm/git/file_auto_fixup.rb', line 19 def git_relative_path path.to_pathname.relative_path_from(git.root_path) end |
#run ⇒ Object
23 24 25 26 |
# File 'lib/avm/git/file_auto_fixup.rb', line 23 def run run_commit || warn("No rule returned commit information for \"#{path}\"") end |