Class: Overcommit::Hook::PostRewrite::IndexTags

Inherits:
Base
  • Object
show all
Includes:
Shared::IndexTags
Defined in:
lib/overcommit/hook/post_rewrite/index_tags.rb

Overview

Updates ctags index for all source code in the repository.

See Also:

  • {Overcommit{Overcommit::Hook{Overcommit::Hook::Shared{Overcommit::Hook::Shared::IndexTags}

Instance Attribute Summary

Attributes inherited from Base

#config

Instance Method Summary collapse

Methods inherited from Base

#applicable_files, #command, #description, #enabled?, #execute, #execute_in_background, #flags, #in_path?, #included_files, #initialize, #name, #parallelize?, #processors, #quiet?, #required?, #required_executable, #required_libraries, #run?, #run_and_transform, #skip?

Constructor Details

This class inherits a constructor from Overcommit::Hook::Base

Instance Method Details

#runObject


10
11
12
13
14
15
# File 'lib/overcommit/hook/post_rewrite/index_tags.rb', line 10

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

  super
end