Sha256: d01c3792e16a1a4076037bad56d9008c89095fa8c6ba46287ea3f39096f5c74e

Contents?: true

Size: 456 Bytes

Versions: 27

Compression:

Stored size: 456 Bytes

Contents

# frozen_string_literal: true

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

27 entries across 27 versions & 2 rubygems

Version Path
overcommit-0.64.1 lib/overcommit/hook/post_rewrite/index_tags.rb
overcommit-0.64.0 lib/overcommit/hook/post_rewrite/index_tags.rb
overcommit-0.63.0 lib/overcommit/hook/post_rewrite/index_tags.rb
overcommit-0.62.0 lib/overcommit/hook/post_rewrite/index_tags.rb
overcommit-0.61.0 lib/overcommit/hook/post_rewrite/index_tags.rb
overcommit-0.60.0 lib/overcommit/hook/post_rewrite/index_tags.rb
overcommit-0.59.1 lib/overcommit/hook/post_rewrite/index_tags.rb
overcommit-0.59.0 lib/overcommit/hook/post_rewrite/index_tags.rb
overcommit-jeygeethanmedia-0.58.0 lib/overcommit/hook/post_rewrite/index_tags.rb
overcommit-0.58.0 lib/overcommit/hook/post_rewrite/index_tags.rb
overcommit-0.57.0 lib/overcommit/hook/post_rewrite/index_tags.rb
overcommit-0.56.0 lib/overcommit/hook/post_rewrite/index_tags.rb
overcommit-0.55.0 lib/overcommit/hook/post_rewrite/index_tags.rb
overcommit-0.54.1 lib/overcommit/hook/post_rewrite/index_tags.rb
overcommit-0.54.0 lib/overcommit/hook/post_rewrite/index_tags.rb
overcommit-jeygeethanmedia-0.53.1.2 lib/overcommit/hook/post_rewrite/index_tags.rb
overcommit-jeygeethanmedia-0.53.1.1 lib/overcommit/hook/post_rewrite/index_tags.rb
overcommit-jeygeethanmedia-0.53.1 lib/overcommit/hook/post_rewrite/index_tags.rb
overcommit-0.53.0 lib/overcommit/hook/post_rewrite/index_tags.rb
overcommit-0.52.1 lib/overcommit/hook/post_rewrite/index_tags.rb