(perltidy)
This commit is contained in:
parent
2cb7d8313e
commit
1c15b4cc2d
|
@ -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};
|
||||||
|
|
|
@ -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 ) = @_;
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue