Sha256: aff30f2b7fc23eb22fa1a772608a62da0f353faa15c613541407030a07ada36d

Contents?: true

Size: 427 Bytes

Versions: 30

Compression:

Stored size: 427 Bytes

Contents

require 'overcommit/hook/shared/index_tags'

module Overcommit::Hook::PostRewrite
  # Updates ctags index for all source code in the repository.
  #
  # @see {Overcommit::Hook::Shared::IndexTags}
  class IndexTags < Base
    include Overcommit::Hook::Shared::IndexTags

    def run
      # Ignore unless this is a rebase (amends are covered by post-commit hook)
      return :pass unless rebase?

      super
    end
  end
end

Version data entries

30 entries across 28 versions & 2 rubygems

Version Path
config_gems_initialization_aim-0.1.4 vendor/bundle/ruby/2.5.0/gems/overcommit-0.46.0/lib/overcommit/hook/post_rewrite/index_tags.rb
config_gems_initialization_aim-0.1.4 vendor/bundle/ruby/2.5.0/gems/config_gems_initialization_aim-0.1.1/vendor/bundle/ruby/2.5.0/gems/overcommit-0.46.0/lib/overcommit/hook/post_rewrite/index_tags.rb
config_gems_initialization_aim-0.1.3 vendor/bundle/ruby/2.5.0/gems/overcommit-0.46.0/lib/overcommit/hook/post_rewrite/index_tags.rb
config_gems_initialization_aim-0.1.3 vendor/bundle/ruby/2.5.0/gems/config_gems_initialization_aim-0.1.1/vendor/bundle/ruby/2.5.0/gems/overcommit-0.46.0/lib/overcommit/hook/post_rewrite/index_tags.rb
overcommit-0.46.0 lib/overcommit/hook/post_rewrite/index_tags.rb
overcommit-0.45.0 lib/overcommit/hook/post_rewrite/index_tags.rb
overcommit-0.44.0 lib/overcommit/hook/post_rewrite/index_tags.rb
overcommit-0.43.0 lib/overcommit/hook/post_rewrite/index_tags.rb
overcommit-0.42.0 lib/overcommit/hook/post_rewrite/index_tags.rb
overcommit-0.41.0 lib/overcommit/hook/post_rewrite/index_tags.rb
overcommit-0.40.0 lib/overcommit/hook/post_rewrite/index_tags.rb
overcommit-0.39.1 lib/overcommit/hook/post_rewrite/index_tags.rb
overcommit-0.39.0 lib/overcommit/hook/post_rewrite/index_tags.rb
overcommit-0.38.0 lib/overcommit/hook/post_rewrite/index_tags.rb
overcommit-0.37.0 lib/overcommit/hook/post_rewrite/index_tags.rb
overcommit-0.36.0 lib/overcommit/hook/post_rewrite/index_tags.rb
overcommit-0.35.0 lib/overcommit/hook/post_rewrite/index_tags.rb
overcommit-0.34.2 lib/overcommit/hook/post_rewrite/index_tags.rb
overcommit-0.34.1 lib/overcommit/hook/post_rewrite/index_tags.rb
overcommit-0.34.0 lib/overcommit/hook/post_rewrite/index_tags.rb