From 3bcd394501f2f641f82d8f564f072e180fc45512 Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Mon, 23 Jun 2014 10:16:51 +0000 Subject: [PATCH] fixed indentation --- codepot/etc/pre-commit.in | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/codepot/etc/pre-commit.in b/codepot/etc/pre-commit.in index 78306e51..11de1590 100644 --- a/codepot/etc/pre-commit.in +++ b/codepot/etc/pre-commit.in @@ -17,25 +17,25 @@ my $TRANSACTION = $ARGV[1]; sub get_config { - my $cfg = new Config::Simple(); + my $cfg = new Config::Simple(); - if (!$cfg->read ($CFG_FILE)) - { - return undef; - } - - my $config = { - database_hostname => $cfg->param ('database_hostname'), - database_username => $cfg->param ('database_username'), - database_password => $cfg->param ('database_password'), - database_name => $cfg->param ('database_name'), - database_driver => $cfg->param ('database_driver'), - database_prefix => $cfg->param ('database_prefix'), + if (!$cfg->read ($CFG_FILE)) + { + return undef; + } + my $config = { + database_hostname => $cfg->param ('database_hostname'), + database_username => $cfg->param ('database_username'), + database_password => $cfg->param ('database_password'), + database_name => $cfg->param ('database_name'), + database_driver => $cfg->param ('database_driver'), + database_prefix => $cfg->param ('database_prefix'), + svn_min_commit_message_length => $cfg->param ('svn_min_commit_message_length') - }; + }; - return $config; + return $config; } sub open_database