App-GitHooks-Plugin-BlockNOCOMMIT

 view release on metacpan or  search on metacpan

lib/App/GitHooks/Plugin/BlockNOCOMMIT.pm  view on Meta::CPAN



=head1 NAME

App::GitHooks::Plugin::BlockNOCOMMIT - Prevent committing code with #NOCOMMIT mentions.


=head1 DESCRIPTION

Sometimes you want to experiment with code, but you want to make sure that test
code doesn't get committed by accident.

This plugin allows you to use C<#NOCOMMIT> to indicate such code blocks, and
will prevent you from committing those blocks.

For example:

	# This is a test that will not work once deployed.
	# NOCOMMIT
	...



( run in 0.672 second using v1.01-cache-2.11-cpan-de7293f3b23 )