[libcode-tidyall-perl] 180/374: fixups

Jonas Smedegaard js at alioth.debian.org
Sun Sep 29 22:26:14 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 8aa8f5d7103150b9cd66b14b6276668e23f23635
Author: Jonathan Swartz <swartz at pobox.com>
Date:   Wed Sep 5 02:47:41 2012 -0700

    fixups
---
 lib/Code/TidyAll/Git/Precommit.pm  |   15 +++++++++------
 lib/Code/TidyAll/Git/Prereceive.pm |    2 +-
 2 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/lib/Code/TidyAll/Git/Precommit.pm b/lib/Code/TidyAll/Git/Precommit.pm
index cbcbb01..ed48f71 100644
--- a/lib/Code/TidyAll/Git/Precommit.pm
+++ b/lib/Code/TidyAll/Git/Precommit.pm
@@ -171,12 +171,17 @@ yourself or your developers as follows:
 
 =item *
 
-Commit the script in C<git/hooks/pre-commit> (note no dot prefix)
+Create a directory called C<git> at the top of your repo (note no dot prefix)
 
 =item *
 
-Add a script in C<git/setup.pl> that runs
+Commit your pre-commit script in C<git/hooks/pre-commit>
 
+=item *
+
+Add a setup script in C<git/setup.pl> containing
+
+    #!/bin/bash
     ln -s git/hooks/pre-commit .git/hooks/pre-commit
 
 =item *
@@ -186,10 +191,8 @@ of the repo
 
 =back
 
-For more information on pre-commit hooks and the impossibility of enforcing
-them, see
-
-   http://stackoverflow.com/questions/3703159/git-remote-shared-pre-commit-hook
+More information on pre-commit hooks and the impossibility of enforcing them
+L<here|http://stackoverflow.com/questions/3703159/git-remote-shared-pre-commit-hook>.
 
 See also L<Code::TidyAll::Git::Prereceive|Code::TidyAll::Git::Prereceive>,
 which enforces tidyall on pushes to a remote shared repository.
diff --git a/lib/Code/TidyAll/Git/Prereceive.pm b/lib/Code/TidyAll/Git/Prereceive.pm
index 1b86d2b..8ec5196 100644
--- a/lib/Code/TidyAll/Git/Prereceive.pm
+++ b/lib/Code/TidyAll/Git/Prereceive.pm
@@ -127,7 +127,7 @@ This is typically used to validate pushes from multiple developers to a shared
 repo, possibly on a remote server.
 
 See also L<Code::TidyAll::Git::Precommit|Code::TidyAll::Git::Precommit>, which
-operates locally from the current repo.
+operates locally.
 
 =head1 METHODS
 

-- 
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