X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2Frgit.git;a=blobdiff_plain;f=bin%2Frgit;fp=bin%2Frgit;h=040dae68b11f0305c1818648acdd793b69f2e3fc;hp=19558a3d85bbf66e8e1777c748e3ab8ce205e62a;hb=569b85b70a20cac15bc2ff0bed6df11ac0e844ec;hpb=1df4b5b8d8d71567094a0c6ec3702ab71b614bd9 diff --git a/bin/rgit b/bin/rgit index 19558a3..040dae6 100755 --- a/bin/rgit +++ b/bin/rgit @@ -43,12 +43,9 @@ if (not defined $policy) { setpgrp 0, 0 if $Config{d_setpgrp}; -my $root = $ENV{GIT_DIR}; -$root = cwd unless defined $root; - my $ar = App::Rgit->new( git => undef, # Autodiscovery - root => $root, + root => undef, # Autodiscovery cmd => $cmd, args => \@ARGV, policy => $policy,