(perltidy)

This commit is contained in:
Sitaram Chamarty 2012-04-18 06:26:18 +05:30
parent 2cb7d8313e
commit 1c15b4cc2d
6 changed files with 74 additions and 74 deletions

View file

@ -3,6 +3,7 @@ use strict;
use warnings; use warnings;
my $tid; my $tid;
BEGIN { BEGIN {
$tid = $ENV{GL_TID} || 0; $tid = $ENV{GL_TID} || 0;
delete $ENV{GL_TID}; delete $ENV{GL_TID};

View file

@ -215,6 +215,7 @@ sub http_simulate_ssh_connection {
} }
my $http_headers_printed = 0; my $http_headers_printed = 0;
sub http_print_headers { sub http_print_headers {
my ( $code, $text ) = @_; my ( $code, $text ) = @_;

View file

@ -55,8 +55,7 @@ sub pre_git {
# exclude this host from both the master and slave lists) # exclude this host from both the master and slave lists)
return if $aa eq 'R'; return if $aa eq 'R';
trace(1, "mirror", "pre_git", $repo, "user=$user", "sender=$sender", "mode=$mode", trace( 1, "mirror", "pre_git", $repo, "user=$user", "sender=$sender", "mode=$mode", ( $rc{REDIRECTED_PUSH} ? ("redirected") : () ) );
($rc{REDIRECTED_PUSH} ? ("redirected") : ()));
# ------------------------------------------------------------------ # ------------------------------------------------------------------
# case 1: we're master or slave, normal user pushing to us # case 1: we're master or slave, normal user pushing to us
@ -115,8 +114,7 @@ sub post_git {
# now you know the repo, get its mirroring details # now you know the repo, get its mirroring details
details($repo); details($repo);
trace(1, "mirror", "post_git", $repo, "user=$user", "sender=$sender", "mode=$mode", trace( 1, "mirror", "post_git", $repo, "user=$user", "sender=$sender", "mode=$mode", ( $rc{REDIRECTED_PUSH} ? ("redirected") : () ) );
($rc{REDIRECTED_PUSH} ? ("redirected") : ()));
# ------------------------------------------------------------------ # ------------------------------------------------------------------
# case 1: we're master or slave, normal user pushing to us # case 1: we're master or slave, normal user pushing to us