NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Why bounce it? (Score:1)
What's the issue with the hook running the code through Perl::Tidy and then committing it instead of
rejecting it and forcing the user to perform the task manually and hope that
the developer and the hook?
Clayton
Reply to This
Re: (Score:1)
I love and trust Perltidy. But, just the same, I prefer to verify that the changes it makes don't break anything. Also, in the case that a file has to be tidied outside of the scope of the initially to-be-commited changes, I want to be able to split the commit into (a) tidying the file and (b) commiting the changes.
But that's all just personal taste. Modifying the hook to auto-tidy the commits should be tri