sub/avm-git/lib/avm/git/scms/git.rb in eac_tools-0.86.3 vs sub/avm-git/lib/avm/git/scms/git.rb in eac_tools-0.86.4
- old
+ new
@@ -1,7 +1,8 @@
# frozen_string_literal: true
+require 'avm/git/issue/complete'
require 'avm/git/scms/git_subrepo'
require 'avm/scms/base'
require 'eac_ruby_utils/core_ext'
module Avm
@@ -13,9 +14,15 @@
COMMIT_DIRTY_DEFAULT_MESSAGE = 'Dirty files.'
def <=>(other)
git_repo <=> other.git_repo
+ end
+
+ # @param options [Hash<Symbol, Object>]
+ # @return [Avm::Git::Issues::Complete]
+ def completer(options = {})
+ ::Avm::Git::Issue::Complete.new(self, options)
end
def git_repo
@git_repo ||= ::EacGit::Local.new(path)
end