Module: Overcommit
- Defined in:
- lib/overcommit/logger.rb,
lib/overcommit/cli.rb,
lib/overcommit/utils.rb,
lib/overcommit/version.rb,
lib/overcommit/git_hook.rb,
lib/overcommit/reporter.rb,
lib/overcommit/installer.rb,
lib/overcommit/staged_file.rb,
lib/overcommit/configuration.rb,
lib/overcommit/hooks/commit_msg.rb,
lib/overcommit/hooks/pre_commit.rb,
lib/overcommit/hook_specific_check.rb
Overview
We run syntax checks against the version of the file that is staged in the index, not the one in the work tree. This class is a simple wrapper to make working with staged files easier.
Defined Under Namespace
Modules: GitHook, Utils Classes: CLI, CommitMessageHook, Configuration, Installer, Logger, PreCommitHook, Reporter, StagedFile
Constant Summary collapse
- VERSION =
'0.2.1'
Class Method Summary collapse
Class Method Details
.config ⇒ Object
51 52 53 |
# File 'lib/overcommit/configuration.rb', line 51 def self.config Configuration.instance end |