Permalink
Browse files

oops; hashes were getting printed twice in certain cases...

harmless but wasteful
  • Loading branch information...
1 parent d2214b0 commit 72e36f32aa5c46c33e9205f47a54672fba672586 @sitaramc committed Nov 28, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/lib/Gitolite/Conf/Store.pm
@@ -311,8 +311,7 @@ sub store_common {
}
}
- $dumped_data = Data::Dumper->Dump( [ \%patterns ], [qw(*patterns)] ) if %patterns;
- print $compiled_fh $dumped_data;
+ print $compiled_fh Data::Dumper->Dump( [ \%patterns ], [qw(*patterns)] ) if %patterns;
print $compiled_fh Data::Dumper->Dump( [ \%split_conf ], [qw(*split_conf)] ) if %split_conf;

0 comments on commit 72e36f3

Please sign in to comment.