Module: Overcommit::Hook::Shared::IndexTags

Included in:
PostCheckout::IndexTags, PostCommit::IndexTags, PostMerge::IndexTags, PostRewrite::IndexTags
Defined in:
lib/overcommit/hook/shared/index_tags.rb

Overview

Shared code used by all IndexTags hooks. It runs ctags in the background so your tag definitions are up-to-date.

Instance Method Summary collapse

Instance Method Details

#runObject



9
10
11
12
# File 'lib/overcommit/hook/shared/index_tags.rb', line 9

def run
  execute_in_background([Overcommit::Utils.script_path('index-tags')])
  :pass
end