[libcode-tidyall-perl] 120/374: when caching, add sorted plugin names to key, so that diff modes are cached appropriately
Jonas Smedegaard
js at alioth.debian.org
Sun Sep 29 22:26:00 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 c978ce62e0a271c9221986fa67f310bcaa9d1e34
Author: Jonathan Swartz <swartz at pobox.com>
Date: Tue Jul 24 14:13:24 2012 -0700
when caching, add sorted plugin names to key, so that diff modes are cached appropriately
---
lib/Code/TidyAll.pm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/Code/TidyAll.pm b/lib/Code/TidyAll.pm
index 74d65e3..e4e1b5c 100644
--- a/lib/Code/TidyAll.pm
+++ b/lib/Code/TidyAll.pm
@@ -54,7 +54,8 @@ sub _build_backup_ttl_secs {
sub _build_base_sig {
my $self = shift;
- return $self->_sig( [ $Code::TidyAll::VERSION || 0 ] );
+ my $active_plugins = join( "|", map { $_->name } @{ $self->plugin_objects } );
+ return $self->_sig( [ $Code::TidyAll::VERSION || 0, $active_plugins ] );
}
sub _build_cache {
--
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