[libcode-tidyall-perl] 174/374: mention git

Jonas Smedegaard js at alioth.debian.org
Sun Sep 29 22:26:13 UTC 2013


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository libcode-tidyall-perl.

commit c991a34a365ac6af37cadc07a1f2afcd78d952f7
Author: Jonathan Swartz <swartz at pobox.com>
Date:   Tue Sep 4 21:43:37 2012 -0700

    mention git
---
 bin/tidyall |   18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

diff --git a/bin/tidyall b/bin/tidyall
index d7435a7..ea84a3d 100755
--- a/bin/tidyall
+++ b/bin/tidyall
@@ -327,9 +327,11 @@ string recognized by L<Time::Duration::Parse|Time::Duration::Parse>.
 
 =item --check-only     
 
-Just check if each file is tidied (i.e. if its tidied version is equal to its
-current version) and consider it an error if not; don't actually modify the
-file. This is used by L<Test::Code::TidyAll|Test::Code::TidyAll>, for example.
+Instead of actually tidying files, check if each file is tidied (i.e. if its
+tidied version is equal to its current version) and consider it an error if
+not. This is used by L<Test::Code::TidyAll|Test::Code::TidyAll> and the
+L<svn|Code::TidyAll::SVN::Precommit> and L<git|Code::TidyAll::Git::Precommit>
+pre-commit hooks, for example, to enforce that you've tidied your files.
 
 =item --conf-file      
 
@@ -416,7 +418,8 @@ C<editor> - when invoking from an editor
 =item *
 
 C<commit> - when using a commit hook like
-L<Code::TidyAll::SVN::Precommit|Code::TidyAll::SVN::Precommit>
+L<Code::TidyAll::SVN::Precommit|Code::TidyAll::SVN::Precommit> or
+L<Code::TidyAll::Git::Precommit|Code::TidyAll::Git::Precommit>
 
 =item *
 
@@ -483,9 +486,10 @@ according to C<tidyall>, and rejects the commit if not.
 
 =item *
 
-L<Code::TidyAll::Git::Precommit|Code::TidyAll::Git::Precommit> implements a
-precommit hook that checks if all files are tidied and valid according to
-C<tidyall>, and rejects the commit if not.
+L<Code::TidyAll::Git::Precommit|Code::TidyAll::Git::Precommit> and
+L<Code::TidyAll::Git::Prereceive|Code::TidyAll::Git::Prereceive> implement git
+precommit and pre-receive hooks, respectively, that check if all files are
+tidied and valid according to C<tidyall>.
 
 =item *
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcode-tidyall-perl.git



More information about the Pkg-perl-cvs-commits mailing list